Modification des appels de function.inc.php (ajout dans init) pour être accessible par toutes les pages

This commit is contained in:
Bob Le Bricodeur 2014-11-11 12:31:52 +01:00
parent a596436548
commit 4edf3b308f
2 changed files with 1 additions and 2 deletions

View File

@ -25,7 +25,7 @@ require_once __DIR__ . '/../../vendor/autoload.php';
include_once __DIR__ . '/constants.php'; include_once __DIR__ . '/constants.php';
include_once __DIR__ . '/i18n.php'; include_once __DIR__ . '/i18n.php';
include_once __DIR__ . '/functions.inc.php';
$connect = NewADOConnection(BASE_TYPE); $connect = NewADOConnection(BASE_TYPE);
$connect->Connect(SERVEURBASE, USERBASE, USERPASSWD, BASE); $connect->Connect(SERVEURBASE, USERBASE, USERPASSWD, BASE);

View File

@ -21,7 +21,6 @@ namespace Framadate;
use Framadate\Utils; use Framadate\Utils;
include_once __DIR__ . '/app/inc/init.php'; include_once __DIR__ . '/app/inc/init.php';
include_once __DIR__ . '/app/inc/functions.inc.php';
if (is_readable('bandeaux_local.php')) { if (is_readable('bandeaux_local.php')) {
include_once('bandeaux_local.php'); include_once('bandeaux_local.php');