diff options
author | ben <ben@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2008-03-03 13:22:57 +0000 |
---|---|---|
committer | ben <ben@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2008-03-03 13:22:57 +0000 |
commit | ca4b43c0c94936a2592cb8a86a0631e4cd26d7af (patch) | |
tree | 9d55380970dc700b6e79ca2921eb589029913d2c /engine/start.php | |
parent | 6263c4160e6067c4074d349e67f990c6e8130ddf (diff) | |
download | elgg-ca4b43c0c94936a2592cb8a86a0631e4cd26d7af.tar.gz elgg-ca4b43c0c94936a2592cb8a86a0631e4cd26d7af.tar.bz2 |
Installation issues: fixed
git-svn-id: https://code.elgg.org/elgg/trunk@57 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'engine/start.php')
-rw-r--r-- | engine/start.php | 13 |
1 files changed, 9 insertions, 4 deletions
diff --git a/engine/start.php b/engine/start.php index fd61dbd6a..1ed294a03 100644 --- a/engine/start.php +++ b/engine/start.php @@ -82,9 +82,6 @@ throw new InstallationException("Could not load {$file}");
}
- // Autodetect some default configuration settings
- set_default_config();
-
// Load plugins
load_plugins();
@@ -94,12 +91,20 @@ }
+ // Autodetect some default configuration settings
+ set_default_config();
+
// Trigger events
- trigger_event('init', 'system');
+ trigger_event('boot', 'system');
// Forward if we haven't been installed
if ((!is_installed() || !is_db_installed()) && !substr_count($_SERVER["PHP_SELF"],"install.php")) {
forward("install.php");
}
+
+ // Trigger events
+ if (!substr_count($_SERVER["PHP_SELF"],"install.php")) {
+ trigger_event('init', 'system');
+ }
?>
\ No newline at end of file |