SOURCES: eventum-config-setup.php, eventum-config.php - updated

glen glen at pld-linux.org
Sun Nov 19 22:34:55 CET 2006


Author: glen                         Date: Sun Nov 19 21:34:55 2006 GMT
Module: SOURCES                       Tag: HEAD
---- Log message:
- updated

---- Files affected:
SOURCES:
   eventum-config-setup.php (1.9 -> 1.10) , eventum-config.php (1.19 -> 1.20) 

---- Diffs:

================================================================
Index: SOURCES/eventum-config-setup.php
diff -u SOURCES/eventum-config-setup.php:1.9 SOURCES/eventum-config-setup.php:1.10
--- SOURCES/eventum-config-setup.php:1.9	Thu Sep  7 19:06:00 2006
+++ SOURCES/eventum-config-setup.php	Sun Nov 19 22:34:50 2006
@@ -77,5 +77,3 @@
 
 // define the type of password hashing to use (MD5, MD5-64)
 define('APP_HASH_TYPE', 'MD5');
-
-?>

================================================================
Index: SOURCES/eventum-config.php
diff -u SOURCES/eventum-config.php:1.19 SOURCES/eventum-config.php:1.20
--- SOURCES/eventum-config.php:1.19	Tue Sep 26 13:03:42 2006
+++ SOURCES/eventum-config.php	Sun Nov 19 22:34:50 2006
@@ -91,11 +91,23 @@
 }
 
 // handle the language preferences now
- at session_start();
-include_once(APP_INC_PATH . "class.language.php");
-Language::setPreference();
+$avail_langs = array(
+    "en_US" =>  "English",
+#    "ru" =>  "Russian",
+#    "de" =>  "German",
+#    "fr" =>  "French",
+    "it" =>  "Italian",
+#    "fi" =>  "Finish",
+#    "es" =>  "Spanish",
+#    "nl" =>  "Dutch",
+    "sv" =>  "Swedish"
+);
 
-include_once APP_INC_PATH . 'class.misc.php';
+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;
================================================================

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



More information about the pld-cvs-commit mailing list