[med-svn] r790 - trunk/community/website/inc
hanska-guest at alioth.debian.org
hanska-guest at alioth.debian.org
Sun Nov 11 19:50:36 UTC 2007
Author: hanska-guest
Date: 2007-11-11 19:50:36 +0000 (Sun, 11 Nov 2007)
New Revision: 790
Modified:
trunk/community/website/inc/locale.inc.php
Log:
Fixing small bug
Modified: trunk/community/website/inc/locale.inc.php
===================================================================
--- trunk/community/website/inc/locale.inc.php 2007-11-11 19:36:50 UTC (rev 789)
+++ trunk/community/website/inc/locale.inc.php 2007-11-11 19:50:36 UTC (rev 790)
@@ -85,7 +85,7 @@
putenv("LANGUAGE=$locale.UTF-8");
setlocale(LC_ALL, "$locale.UTF-8");
$domain = "messages";
-bindtextdomain($domain, "./locale");
+bindtextdomain($domain, str_replace($_SERVER["SCRIPT_NAME"], "", $_SERVER["SCRIPT_FILENAME"]) . "/locale");
textdomain($domain);
?>
More information about the debian-med-commit
mailing list