From: cash Date: Mon, 7 Dec 2009 12:54:44 +0000 (+0000) Subject: fixes #1187 X-Git-Url: https://gitweb.fluxo.info/?a=commitdiff_plain;h=4fd91f4926cb83addde6e44466e9aca61dec2870;p=lorea%2Felgg.git fixes #1187 git-svn-id: http://code.elgg.org/elgg/trunk@3738 36083f99-b078-4883-b0ff-0f9b5a30f544 --- 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 */