diff --git a/app/inc/init.php b/app/inc/init.php index fde0576..62890bd 100644 --- a/app/inc/init.php +++ b/app/inc/init.php @@ -25,7 +25,7 @@ require_once __DIR__ . '/../../vendor/autoload.php'; include_once __DIR__ . '/constants.php'; include_once __DIR__ . '/i18n.php'; - +include_once __DIR__ . '/functions.inc.php'; $connect = NewADOConnection(BASE_TYPE); $connect->Connect(SERVEURBASE, USERBASE, USERPASSWD, BASE); diff --git a/index.php b/index.php index fce10cc..14361fc 100644 --- a/index.php +++ b/index.php @@ -21,7 +21,6 @@ namespace Framadate; use Framadate\Utils; include_once __DIR__ . '/app/inc/init.php'; -include_once __DIR__ . '/app/inc/functions.inc.php'; if (is_readable('bandeaux_local.php')) { include_once('bandeaux_local.php');