From baca8948d6d4c741c6a7aa090a8a26c3a883b637 Mon Sep 17 00:00:00 2001 From: ben Date: Fri, 2 May 2008 15:03:15 +0000 Subject: 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 --- engine/lib/configuration.php | 2 +- engine/lib/sessions.php | 2 +- engine/lib/sites.php | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) (limited to 'engine/lib') 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 -- cgit v1.2.3