Use a variable for an absolute path for performance reason
NOALYSS_INCLUDE NOALYSS_HOME NOALYSS_PLUGIN
This commit is contained in:
parent
da382a11d5
commit
8f265c7bbc
278 changed files with 1092 additions and 1073 deletions
|
|
@ -22,15 +22,15 @@
|
|||
* \brief send the document template
|
||||
*/
|
||||
require_once '../include/constant.php';
|
||||
require_once('class_database.php');
|
||||
require_once("ac_common.php");
|
||||
require_once NOALYSS_INCLUDE.'/class_database.php';
|
||||
require_once NOALYSS_INCLUDE.'/ac_common.php';
|
||||
require_once NOALYSS_INCLUDE.'/class_dossier.php';
|
||||
|
||||
require_once('class_dossier.php');
|
||||
$gDossier=dossier::id();
|
||||
$cn=new Database($gDossier);
|
||||
|
||||
|
||||
require_once ('class_user.php');
|
||||
require_once NOALYSS_INCLUDE.'/class_user.php';
|
||||
global $g_user;
|
||||
$g_user=new User($cn);
|
||||
$g_user->Check();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue