From 4fd91f4926cb83addde6e44466e9aca61dec2870 Mon Sep 17 00:00:00 2001 From: cash Date: Mon, 7 Dec 2009 12:54:44 +0000 Subject: fixes #1187 git-svn-id: http://code.elgg.org/elgg/trunk@3738 36083f99-b078-4883-b0ff-0f9b5a30f544 --- engine/start.php | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'engine/start.php') 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 */ -- cgit v1.2.3