false, "FAQ" => true, "SPID" => true, "FILE_UPLOAD" => true, "FIREBASE" => false, "CAPTCHA" => false, "EMAIL" => true, "INFOCAMERE" => false, "AVVISO" => true ); define("PREFIX_HTTP", "http://"); define("BASE_FOLDER", "/"); // deve chiudere sempre con / $GLOBALS['HTTP'] = PREFIX_HTTP . $_SERVER['HTTP_HOST'] . BASE_FOLDER . '/'; $GLOBALS['ROOT'] = PREFIX_HTTP . $_SERVER['HTTP_HOST'] . dirname($_SERVER['SCRIPT_NAME']) . '/'; define("ROOT", dirname(dirname(__FILE__)) . "/"); define("PHP_SELF", $_SERVER['PHP_SELF']); /* MODULI OBBLIGATORI */ require_once 'config/base.config.php'; // BASE require_once 'config/database.config.php'; // DATABASE require_once 'config/menu.config.php'; // VOCI DI MENU' require_once 'config/sportello.config.php'; // CFG SPORTELLO (DATE E CONSTANT) require_once 'config/stats.php'; // CFG SPORTELLO (DATE E CONSTANT) /* SPID */ if ($config['SPID']) { require_once 'config/spid.config.php'; } /* FILE UPLOAD */ if ($config['FILE_UPLOAD']) { require_once 'config/upload.config.php'; } /* FIREBASE */ if ($config['FIREBASE']) { require_once 'config/firebase.config.php'; } /* CAPTCHA */ if ($config['CAPTCHA']) { require_once 'config/captcha.config.php'; } /* CAPTCHA */ if ($config['INFOCAMERE']) { require_once 'config/infocamere.config.php'; } if ($config['AVVISO']) { require_once 'config/avviso.config.php'; }