aboutsummaryrefslogtreecommitdiff
path: root/engine
diff options
context:
space:
mode:
authorcash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-10-01 12:23:48 +0000
committercash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-10-01 12:23:48 +0000
commitcc83297cd4d80f67dd34e5ccc05d305158d9092b (patch)
treef05e3b5a801ebc27387e672958dfddacbe109cf7 /engine
parent075e8f540f63b7ef72997fd8f0f976eecf84b4b6 (diff)
downloadelgg-cc83297cd4d80f67dd34e5ccc05d305158d9092b.tar.gz
elgg-cc83297cd4d80f67dd34e5ccc05d305158d9092b.tar.bz2
replacing more documentation lost in integration of installer
git-svn-id: http://code.elgg.org/elgg/trunk@6993 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'engine')
-rw-r--r--engine/start.php4
1 files changed, 3 insertions, 1 deletions
diff --git a/engine/start.php b/engine/start.php
index db9bff0e4..ce011f5c4 100644
--- a/engine/start.php
+++ b/engine/start.php
@@ -125,7 +125,8 @@ if (!$installed) {
// Autodetect some default configuration settings
set_default_config();
-// Trigger events
+// Trigger boot events for core. Plugins can't hook
+// into this because they haven't been loaded yet.
trigger_elgg_event('boot', 'system');
// Load the plugins that are active
@@ -137,6 +138,7 @@ trigger_elgg_event('init', 'system');
// Regenerate the simple cache if expired.
// Don't do it on upgrade because upgrade does it itself.
+// @todo - move into function and perhaps run off init system event
if (!defined('upgrading')) {
$view = get_input('view', 'default');
$lastupdate = datalist_get("simplecache_lastupdate_$view");