diff options
Diffstat (limited to 'engine')
-rw-r--r-- | engine/start.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/engine/start.php b/engine/start.php index 7a69760db..e6bfa3078 100644 --- a/engine/start.php +++ b/engine/start.php @@ -175,7 +175,8 @@ // Trigger events
if (!substr_count($_SERVER["PHP_SELF"],"install.php") &&
!substr_count($_SERVER["PHP_SELF"],"setup.php") &&
- !$lightmode) {
+ !$lightmode
+ && !(defined('upgrading') && upgrading == 'upgrading')) {
// If default settings haven't been installed, forward to the default settings page
trigger_elgg_event('init', 'system');
//if (!datalist_get('default_settings')) {
|