aboutsummaryrefslogtreecommitdiffstats
path: root/langs.php
diff options
context:
space:
mode:
authorDamien Lallement <dams@mageia.org>2011-02-16 16:59:59 +0000
committerDamien Lallement <dams@mageia.org>2011-02-16 16:59:59 +0000
commit5c19e0c44fa098a8f0ae0a5779ab1e57273f5387 (patch)
tree17d7cc31bb2cfb6174ba24aec8adaadd15d57d2d /langs.php
parent6ed06021b2fae55d0a19d226a509a46882137672 (diff)
downloadwww-5c19e0c44fa098a8f0ae0a5779ab1e57273f5387.tar
www-5c19e0c44fa098a8f0ae0a5779ab1e57273f5387.tar.gz
www-5c19e0c44fa098a8f0ae0a5779ab1e57273f5387.tar.bz2
www-5c19e0c44fa098a8f0ae0a5779ab1e57273f5387.tar.xz
www-5c19e0c44fa098a8f0ae0a5779ab1e57273f5387.zip
debug
Diffstat (limited to 'langs.php')
-rw-r--r--langs.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/langs.php b/langs.php
index 1ac09ebf5..d9fd3bbba 100644
--- a/langs.php
+++ b/langs.php
@@ -50,7 +50,7 @@ foreach ($langs as $k => $v)
// prevent 404 error on /{$locale}/ with missing translation
function locale_path($loc,$path)
{
- $filename = "/".$loc."/".$path;
+ $filename = $loc."/".$path;
$url = "/en/".$path;
echo "filename: $filename-url: $url-loc: $loc-path: $path";
if (file_exists($filename))