aboutsummaryrefslogtreecommitdiff
path: root/engine/start.php
diff options
context:
space:
mode:
authormarcus <marcus@36083f99-b078-4883-b0ff-0f9b5a30f544>2008-11-18 14:48:39 +0000
committermarcus <marcus@36083f99-b078-4883-b0ff-0f9b5a30f544>2008-11-18 14:48:39 +0000
commit39bae6eaede0264cabe9faa15f45bfd6ebcae6f7 (patch)
tree22d55e536395390c9c742aa16742f8c5a428870a /engine/start.php
parent9bd5aad2c3bdb4a283d2b15ed0f91e295099c9e2 (diff)
downloadelgg-39bae6eaede0264cabe9faa15f45bfd6ebcae6f7.tar.gz
elgg-39bae6eaede0264cabe9faa15f45bfd6ebcae6f7.tar.bz2
Closes #557
git-svn-id: https://code.elgg.org/elgg/trunk@2460 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'engine/start.php')
-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