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

@ -13,9 +13,9 @@
*/
if ( ! defined ('ALLOWED') ) define ('ALLOWED',1);
require_once '../include/constant.php';
require_once('class_database.php');
require_once('class_user.php');
require_once('class_extension.php');
require_once NOALYSS_INCLUDE.'/class_database.php';
require_once NOALYSS_INCLUDE.'/class_user.php';
require_once NOALYSS_INCLUDE.'/class_extension.php';
if ( !isset ($_REQUEST['gDossier'])) exit();
require_once 'class_own.php';