SOURCES: eventum-config.php - merged with 20060926 snap

glen glen at pld-linux.org
Tue Sep 26 13:03:47 CEST 2006


Author: glen                         Date: Tue Sep 26 11:03:47 2006 GMT
Module: SOURCES                       Tag: HEAD
---- Log message:
- merged with 20060926 snap

---- Files affected:
SOURCES:
   eventum-config.php (1.18 -> 1.19) 

---- Diffs:

================================================================
Index: SOURCES/eventum-config.php
diff -u SOURCES/eventum-config.php:1.18 SOURCES/eventum-config.php:1.19
--- SOURCES/eventum-config.php:1.18	Thu Sep  7 19:06:00 2006
+++ SOURCES/eventum-config.php	Tue Sep 26 13:03:42 2006
@@ -90,6 +90,11 @@
     $bench->start();
 }
 
+// handle the language preferences now
+ at 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_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: */
-?>
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SOURCES/eventum-config.php?r1=1.18&r2=1.19&f=u



More information about the pld-cvs-commit mailing list