aboutsummaryrefslogtreecommitdiffstats
path: root/langs.php
diff options
context:
space:
mode:
authorDamien Lallement <dams@mageia.org>2011-02-16 17:03:57 +0000
committerDamien Lallement <dams@mageia.org>2011-02-16 17:03:57 +0000
commit111049fa874fa355a9180a24f62d3bb4cbe2f028 (patch)
tree5a4fa60db16f5141371b8852bce9d95e9ca0d424 /langs.php
parenta6f1ada54bb9dbf4e12a31f9b948651f383c6def (diff)
downloadwww-111049fa874fa355a9180a24f62d3bb4cbe2f028.tar
www-111049fa874fa355a9180a24f62d3bb4cbe2f028.tar.gz
www-111049fa874fa355a9180a24f62d3bb4cbe2f028.tar.bz2
www-111049fa874fa355a9180a24f62d3bb4cbe2f028.tar.xz
www-111049fa874fa355a9180a24f62d3bb4cbe2f028.zip
fix filename
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 b7ce9fe3d..554a788a4 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;
if (file_exists($filename))
{