From ebe86f345e11852251fd48956e1704297950416f Mon Sep 17 00:00:00 2001 From: marcus Date: Mon, 16 Feb 2009 13:52:47 +0000 Subject: Closes #429: Language loading now no longer loads all possible translations - only english + user's preferred language/site preference git-svn-id: https://code.elgg.org/elgg/trunk@2762 36083f99-b078-4883-b0ff-0f9b5a30f544 --- engine/start.php | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) (limited to 'engine/start.php') diff --git a/engine/start.php b/engine/start.php index d1484cafd..067e6c9b0 100644 --- a/engine/start.php +++ b/engine/start.php @@ -43,6 +43,11 @@ exit; } + if (!@include_once(dirname(__FILE__) . "/lib/sessions.php")) { + echo ("Error in installation: Elgg could not load the Sessions library"); + exit; + } + if (!@include_once(dirname(__FILE__) . "/lib/languages.php")) { // Languages library echo "Error in installation: could not load the languages library."; exit; @@ -63,10 +68,7 @@ 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'); -- cgit v1.2.3