diff options
author | ben <ben@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2008-06-10 14:48:29 +0000 |
---|---|---|
committer | ben <ben@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2008-06-10 14:48:29 +0000 |
commit | 5db7ae26689669479b327cd69b5c72ada3d819b9 (patch) | |
tree | 74b5beb5ee8e75df4d16e8fb0a2aa029644f49a5 /engine/start.php | |
parent | 005666d19b54d5aef654f96fd7b555d954cf425f (diff) | |
download | elgg-5db7ae26689669479b327cd69b5c72ada3d819b9.tar.gz elgg-5db7ae26689669479b327cd69b5c72ada3d819b9.tar.bz2 |
register_event_handler and trigger_event have been renamed to register_elgg_event_handler and trigger_elgg_event respectively.
git-svn-id: https://code.elgg.org/elgg/trunk@848 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'engine/start.php')
-rw-r--r-- | engine/start.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/engine/start.php b/engine/start.php index 5312d5093..214ed725b 100644 --- a/engine/start.php +++ b/engine/start.php @@ -122,7 +122,7 @@ // Autodetect some default configuration settings
set_default_config();
// Trigger events
- trigger_event('boot', 'system');
+ trigger_elgg_event('boot', 'system');
// Forward if we haven't been installed
if ((!is_installed() || !is_db_installed()) && !substr_count($_SERVER["PHP_SELF"],"install.php")) {
header("Location: install.php");
@@ -134,7 +134,7 @@ !substr_count($_SERVER["PHP_SELF"],"setup.php") &&
!$lightmode) {
// If default settings haven't been installed, forward to the default settings page
- trigger_event('init', 'system');
+ trigger_elgg_event('init', 'system');
if (!datalist_get('default_settings')) {
//forward("setup.php");
}
|