From 39bae6eaede0264cabe9faa15f45bfd6ebcae6f7 Mon Sep 17 00:00:00 2001 From: marcus Date: Tue, 18 Nov 2008 14:48:39 +0000 Subject: Closes #557 git-svn-id: https://code.elgg.org/elgg/trunk@2460 36083f99-b078-4883-b0ff-0f9b5a30f544 --- engine/start.php | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'engine') 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 -- cgit v1.2.3