aboutsummaryrefslogtreecommitdiff
path: root/engine
diff options
context:
space:
mode:
Diffstat (limited to 'engine')
-rw-r--r--engine/start.php9
1 files changed, 6 insertions, 3 deletions
diff --git a/engine/start.php b/engine/start.php
index 6e346b91f..7a69760db 100644
--- a/engine/start.php
+++ b/engine/start.php
@@ -58,6 +58,11 @@
exit;
}
+ if (!@include_once(dirname(__FILE__) . "/lib/sessions.php")) {
+ echo ("Error in installation: Elgg could not load the Sessions library");
+ exit;
+ }
+
// Use fallback view until sanitised
$oldview = get_input('view');
set_input('view', 'failsafe');
@@ -105,9 +110,7 @@
throw new InstallationException("Elgg could not load the Actions library");
}
- if (!@include_once(dirname(__FILE__) . "/lib/sessions.php")) {
- throw new InstallationException("Elgg could not load the Sessions library");
- }
+
// We don't want to load or reload these files