aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--localwebsite/init.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/localwebsite/init.php b/localwebsite/init.php
index 4f6113f..4620ed2 100644
--- a/localwebsite/init.php
+++ b/localwebsite/init.php
@@ -44,13 +44,13 @@ define('START_TIME', microtime(true));
set_include_path(get_include_path().PATH_SEPARATOR.ROOT);
+require_once ROOT.'/functions.php';
+
$config = require ROOT.'/config.php';
if (!is_file(ROOT.'/config.local.php'))
die('config.local.php not found');
$config = array_merge($config, require_once ROOT.'/config.local.php');
-require_once ROOT.'/functions.php';
-
// it's better to start logging as early as possible
$debug = debug::getInstance(
function($errno, $errfile, $errlne, $errstr) {