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

hanska-guest at alioth.debian.org hanska-guest at alioth.debian.org
Thu Oct 4 18:43:05 UTC 2007


Author: hanska-guest
Date: 2007-10-04 18:43:05 +0000 (Thu, 04 Oct 2007)
New Revision: 558

Modified:
   trunk/community/website/inc/locale.inc.php
Log:
Hardcoding locales path


Modified: trunk/community/website/inc/locale.inc.php
===================================================================
--- trunk/community/website/inc/locale.inc.php	2007-10-04 18:41:39 UTC (rev 557)
+++ trunk/community/website/inc/locale.inc.php	2007-10-04 18:43:05 UTC (rev 558)
@@ -5,7 +5,7 @@
 $lang_arr = explode(",", $languages);
 $lang_arr[0] .= ";q=1.0";
 
-$locales_dir = dirname($_SERVER["SCRIPT_FILENAME"])."/locale/";
+$locales_dir = "/srv/alioth.debian.org/chroot/home/groups/debian-med/htdocs/locale/";
 
 $handle = @opendir($locales_dir) or die(_("Cannot open") . " $locales_dir.\n");
 while ($file = readdir($handle)) {




More information about the debian-med-commit mailing list