include global condig and bail with error if not available
This commit is contained in:
parent
9f81141517
commit
5dee1fade7
@ -29,7 +29,9 @@ session_start();
|
||||
$session_id = session_id();
|
||||
|
||||
// Include our configuration (holding defines for the requires)
|
||||
require_once(BASEPATH . 'include/config/global.inc.php');
|
||||
if (!include_once(BASEPATH . 'include/config/global.inc.php')) {
|
||||
die('Unable to load site configuration');
|
||||
}
|
||||
|
||||
// Load Classes, they name defines the $ variable used
|
||||
// We include all needed files here, even though our templates could load them themself
|
||||
|
||||
Loading…
Reference in New Issue
Block a user