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

@ -27,8 +27,8 @@
define ('ALLOWED',1);
require_once '../include/constant.php';
global $g_user,$cn,$g_parameter;
require_once('class_database.php');
require_once('class_user.php');
require_once NOALYSS_INCLUDE.'/class_database.php';
require_once NOALYSS_INCLUDE.'/class_user.php';
$gDossier=dossier::id();
$cn=new Database($gDossier);
mb_internal_encoding("UTF-8");