Init Git Prod Mars 2026
This commit is contained in:
commit
d81efe93b1
362 files changed
+86627
No files matched your search
@@ -0,0 +1,18 @@
|
||||
<?php
|
||||
// --------------------------------------------------
|
||||
// BOOTSTRAP GLOBAL — exécuté UNE SEULE FOIS
|
||||
// --------------------------------------------------
|
||||
|
||||
if (!defined('APP_ROOT')) {
|
||||
define('APP_ROOT', realpath(__DIR__ . '/..')); // vhosts/staging.uslugi.fr
|
||||
}
|
||||
if (!defined('APP_HTDOCS')) {
|
||||
define('APP_HTDOCS', APP_ROOT . '/htdocs');
|
||||
}
|
||||
|
||||
// Charger env UNE FOIS
|
||||
if (empty($GLOBALS['ENV_LOADED'])) {
|
||||
require_once APP_ROOT . '/includes/env.php';
|
||||
app_load_env(APP_ROOT . '/.env');
|
||||
$GLOBALS['ENV_LOADED'] = true;
|
||||
}
|
||||
Reference in new issue
Block a user