aboutsummaryrefslogtreecommitdiff
path: root/engine
diff options
context:
space:
mode:
authorben <ben@36083f99-b078-4883-b0ff-0f9b5a30f544>2008-05-02 15:03:15 +0000
committerben <ben@36083f99-b078-4883-b0ff-0f9b5a30f544>2008-05-02 15:03:15 +0000
commitbaca8948d6d4c741c6a7aa090a8a26c3a883b637 (patch)
tree08dce156073e017465759016473296eab3c8a0f2 /engine
parentb0397741e6b36331148f736375c09921bea9a5c3 (diff)
downloadelgg-baca8948d6d4c741c6a7aa090a8a26c3a883b637.tar.gz
elgg-baca8948d6d4c741c6a7aa090a8a26c3a883b637.tar.bz2
Configuration prerequisites are now loaded on boot time rathr than init
git-svn-id: https://code.elgg.org/elgg/trunk@631 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'engine')
-rw-r--r--engine/lib/configuration.php2
-rw-r--r--engine/lib/sessions.php2
-rw-r--r--engine/lib/sites.php2
3 files changed, 3 insertions, 3 deletions
diff --git a/engine/lib/configuration.php b/engine/lib/configuration.php
index b2bc83505..94ef22a10 100644
--- a/engine/lib/configuration.php
+++ b/engine/lib/configuration.php
@@ -132,6 +132,6 @@
* Register config_init
*/
- register_event_handler('init','system','configuration_init',10);
+ register_event_handler('boot','system','configuration_init',10);
?> \ No newline at end of file
diff --git a/engine/lib/sessions.php b/engine/lib/sessions.php
index b9a549697..ddfdd9ab0 100644
--- a/engine/lib/sessions.php
+++ b/engine/lib/sessions.php
@@ -158,7 +158,7 @@
if (!isloggedin()) forward();
}
- register_event_handler("init","system","session_init",1);
+ register_event_handler("boot","system","session_init",1);
//register actions *************************************************************
diff --git a/engine/lib/sites.php b/engine/lib/sites.php
index 92cd54ecb..dcaa05b14 100644
--- a/engine/lib/sites.php
+++ b/engine/lib/sites.php
@@ -479,6 +479,6 @@
// Register event handlers
- register_event_handler('init','system','sites_init',2);
+ register_event_handler('boot','system','sites_init',2);
?> \ No newline at end of file