[med-svn] r657 - trunk/community/website/inc

hanska-guest at alioth.debian.org hanska-guest at alioth.debian.org
Sat Oct 6 16:35:59 UTC 2007


Author: hanska-guest
Date: 2007-10-06 16:35:58 +0000 (Sat, 06 Oct 2007)
New Revision: 657

Modified:
   trunk/community/website/inc/dynlocale.inc.php
Log:
Maybe I found the damned bug.


Modified: trunk/community/website/inc/dynlocale.inc.php
===================================================================
--- trunk/community/website/inc/dynlocale.inc.php	2007-10-06 16:34:40 UTC (rev 656)
+++ trunk/community/website/inc/dynlocale.inc.php	2007-10-06 16:35:58 UTC (rev 657)
@@ -25,7 +25,6 @@
 $lang_arr = explode(",", $languages);
 $lang_arr[0] .= ";q=1.0";
 
-$locales_dir = "../locale/";
 $def_locale = "en_US";
 $priority = "0.0";
 
@@ -43,7 +42,7 @@
 // let's sort them by priority, highest first
 krsort($langs);
 
-if ($fp = fopen("locales.txt", "r", true)) {
+if ($fp = fopen("./inc/locales.txt", "r", true)) {
 	while (!feof($fp)) {
 		$raw .= fgets($fp, 4096);
 	}




More information about the debian-med-commit mailing list