Modification des appels de function.inc.php (ajout dans init) pour être accessible par toutes les pages
This commit is contained in:
parent
a596436548
commit
4edf3b308f
@ -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);
|
||||||
|
@ -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');
|
||||||
|
Loading…
Reference in New Issue
Block a user