]> git.pld-linux.org Git - packages/eventum.git/commitdiff
- merged with 20060926 snap
authorElan Ruusamäe <glen@pld-linux.org>
Tue, 26 Sep 2006 11:03:42 +0000 (11:03 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    eventum-config.php -> 1.19

eventum-config.php

index 7e368db76ced31c68f2fe4048c3920f91f8a08b7..65e785b55eff1882e2fa14ac9597024500a90553 100755 (executable)
@@ -90,6 +90,11 @@ if (APP_BENCHMARK) {
     $bench->start();
 }
 
+// handle the language preferences now
+@session_start();
+include_once(APP_INC_PATH . "class.language.php");
+Language::setPreference();
+
 include_once APP_INC_PATH . 'class.misc.php';
 
 if (isset($_GET)) {
@@ -110,12 +115,7 @@ $HTTP_GET_VARS = Misc::dispelMagicQuotes($HTTP_GET_VARS);
 $HTTP_POST_VARS = Misc::dispelMagicQuotes($HTTP_POST_VARS);
 $_REQUEST = Misc::dispelMagicQuotes($_REQUEST);
 
-// handle the language preferences now
-include_once(APP_INC_PATH . 'class.language.php');
-Language::setPreference();
-
 // set charset
 header('Content-Type: text/html; charset=' . APP_CHARSET);
 
 /* vim: set expandtab tabstop=4 shiftwidth=4: */
-?>
This page took 0.063268 seconds and 4 git commands to generate.