Use a variable for an absolute path for performance reason

NOALYSS_INCLUDE
NOALYSS_HOME
NOALYSS_PLUGIN
This commit is contained in:
Dany De Bontridder 2015-08-11 11:05:54 +02:00
parent da382a11d5
commit 8f265c7bbc
278 changed files with 1092 additions and 1073 deletions

View file

@ -19,7 +19,7 @@
*/
// Copyright Author Dany De Bontridder danydb@aevalys.eu
if ( ! defined ('ALLOWED') ) die('Appel direct ne sont pas permis');
require_once 'class_profile_sql.php';
require_once NOALYSS_INCLUDE.'/class_profile_sql.php';
global $cn;
//**********************************************
@ -354,7 +354,7 @@ echo '</div>';
echo '<div id="detail_profile" class="content">';
if (isset($_POST['p_id']))
{
require_once 'ajax_get_profile.php';
require_once NOALYSS_INCLUDE.'/ajax_get_profile.php';
}
echo '</div>';
if ( isset($_POST['delete_profil'] ))