aboutsummaryrefslogtreecommitdiff
path: root/engine/start.php
diff options
context:
space:
mode:
authormarcus <marcus@36083f99-b078-4883-b0ff-0f9b5a30f544>2009-02-16 13:52:47 +0000
committermarcus <marcus@36083f99-b078-4883-b0ff-0f9b5a30f544>2009-02-16 13:52:47 +0000
commitebe86f345e11852251fd48956e1704297950416f (patch)
tree3b10b69c8d07aed47d549d409d5a5b585f3b1481 /engine/start.php
parent254d24bef4f9bc84da8496f4014e65763bdcffd9 (diff)
downloadelgg-ebe86f345e11852251fd48956e1704297950416f.tar.gz
elgg-ebe86f345e11852251fd48956e1704297950416f.tar.bz2
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
Diffstat (limited to 'engine/start.php')
-rw-r--r--engine/start.php10
1 files changed, 6 insertions, 4 deletions
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');