SOURCES: eventum-config.php - must do Language::setPreference() af...
glen
glen at pld-linux.org
Thu Dec 7 03:24:32 CET 2006
Author: glen Date: Thu Dec 7 02:24:32 2006 GMT
Module: SOURCES Tag: HEAD
---- Log message:
- must do Language::setPreference() after hacking old HTTP_ vars
---- Files affected:
SOURCES:
eventum-config.php (1.22 -> 1.23)
---- Diffs:
================================================================
Index: SOURCES/eventum-config.php
diff -u SOURCES/eventum-config.php:1.22 SOURCES/eventum-config.php:1.23
--- SOURCES/eventum-config.php:1.22 Thu Dec 7 03:13:36 2006
+++ SOURCES/eventum-config.php Thu Dec 7 03:24:27 2006
@@ -107,7 +107,6 @@
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;
@@ -126,6 +125,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);
================================================================
---- CVS-web:
http://cvs.pld-linux.org/SOURCES/eventum-config.php?r1=1.22&r2=1.23&f=u
More information about the pld-cvs-commit
mailing list