aboutsummaryrefslogtreecommitdiff
path: root/engine
diff options
context:
space:
mode:
authorcash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544>2009-12-07 12:54:44 +0000
committercash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544>2009-12-07 12:54:44 +0000
commit4fd91f4926cb83addde6e44466e9aca61dec2870 (patch)
treef2f2a0bb522f743ccb26919686582013c7c4437b /engine
parent36a5a0e606641920728b27f179020461023667e8 (diff)
downloadelgg-4fd91f4926cb83addde6e44466e9aca61dec2870.tar.gz
elgg-4fd91f4926cb83addde6e44466e9aca61dec2870.tar.bz2
fixes #1187
git-svn-id: http://code.elgg.org/elgg/trunk@3738 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'engine')
-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
*/