]> git.pld-linux.org Git - packages/eventum.git/commitdiff
- must do Language::setPreference() after hacking old HTTP_ vars
authorElan Ruusamäe <glen@pld-linux.org>
Thu, 7 Dec 2006 02:24:27 +0000 (02:24 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    eventum-config.php -> 1.23

eventum-config.php

index 8964449dab221ea805a7bad6fd72d4569b4f0cb9..e1d5e220d2ebd6a4f916addb56136a1ba7ba2939 100755 (executable)
@@ -107,7 +107,6 @@ include_once(APP_INC_PATH . 'class.language.php');
 include_once(APP_INC_PATH . 'db_access.php');
 include_once(APP_INC_PATH . 'class.auth.php');
 include_once(APP_INC_PATH . 'class.misc.php');
-Language::setPreference();
 
 if (isset($_GET)) {
     $HTTP_POST_VARS = $_POST;
@@ -127,6 +126,8 @@ $HTTP_GET_VARS = Misc::dispelMagicQuotes($HTTP_GET_VARS);
 $HTTP_POST_VARS = Misc::dispelMagicQuotes($HTTP_POST_VARS);
 $_REQUEST = Misc::dispelMagicQuotes($_REQUEST);
 
+Language::setPreference();
+
 // set charset
 header('Content-Type: text/html; charset=' . APP_CHARSET);
 
This page took 0.049077 seconds and 4 git commands to generate.