aboutsummaryrefslogtreecommitdiff
path: root/engine/start.php
diff options
context:
space:
mode:
Diffstat (limited to 'engine/start.php')
-rw-r--r--engine/start.php8
1 files changed, 8 insertions, 0 deletions
diff --git a/engine/start.php b/engine/start.php
index 7caa35b0f..8d5d4fac5 100644
--- a/engine/start.php
+++ b/engine/start.php
@@ -15,6 +15,14 @@
global $START_MICROTIME;
$START_MICROTIME = microtime(true);
+/*
+ * Create global CONFIG object
+ */
+global $CONFIG;
+if (!isset($CONFIG)) {
+ $CONFIG = new stdClass;
+}
+
/**
* Load important prerequisites
*/