From 4ee6cedbe695b121e47c5af3be25d11b19c06d2e Mon Sep 17 00:00:00 2001 From: bahfir abbes Date: Thu, 8 Oct 2020 00:23:59 +0100 Subject: [PATCH] =?UTF-8?q?Option=20d=E2=80=99Activation=20du=20fichier=20?= =?UTF-8?q?global=20de=20configuration.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- htdocs/core/class/conf.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/htdocs/core/class/conf.class.php b/htdocs/core/class/conf.class.php index 3d6526690a7..ce726265006 100644 --- a/htdocs/core/class/conf.class.php +++ b/htdocs/core/class/conf.class.php @@ -235,7 +235,7 @@ class Conf $filesList = explode(":", $this->global->LOCAL_CONSTS_FILES); foreach ($filesList as $file) { $file = dol_sanitizeFileName($file); - include_once DOL_DOCUMENT_ROOT."/".$file."/".$file."_consts.php"; // This file can run code like setting $this->global->XXX vars. + dol_include_once($file."/".$file."_consts.php"); // This file can run code like setting $this->global->XXX vars. } }