diff options
author | Cash Costello <cash.costello@gmail.com> | 2012-06-16 18:11:57 -0400 |
---|---|---|
committer | Cash Costello <cash.costello@gmail.com> | 2012-06-16 18:11:57 -0400 |
commit | ab2072983b4f35c0495f920409f0f5bf5c75ee27 (patch) | |
tree | a5799d4a0a98f52775a08a10bd6853c4d3076b77 /engine/start.php | |
parent | b06fec41d7f0e4b998dc6753a3d4c50b16621000 (diff) | |
download | elgg-ab2072983b4f35c0495f920409f0f5bf5c75ee27.tar.gz elgg-ab2072983b4f35c0495f920409f0f5bf5c75ee27.tar.bz2 |
Fixes #3684 prevent pagesetup, system event from firing during the init, system event
Diffstat (limited to 'engine/start.php')
-rw-r--r-- | engine/start.php | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/engine/start.php b/engine/start.php index 506e27380..5f4bded45 100644 --- a/engine/start.php +++ b/engine/start.php @@ -49,6 +49,7 @@ global $CONFIG; if (!isset($CONFIG)) { $CONFIG = new stdClass; } +$CONFIG->boot_complete = false; $lib_dir = dirname(__FILE__) . '/lib/'; @@ -105,5 +106,7 @@ elgg_trigger_event('plugins_boot', 'system'); // Complete the boot process for both engine and plugins elgg_trigger_event('init', 'system'); +$CONFIG->boot_complete = true; + // System loaded and ready elgg_trigger_event('ready', 'system'); |