aboutsummaryrefslogtreecommitdiffstats
path: root/langs.php
diff options
context:
space:
mode:
authorDamien Lallement <dams@mageia.org>2011-02-16 16:48:30 +0000
committerDamien Lallement <dams@mageia.org>2011-02-16 16:48:30 +0000
commit5fd60b61d8c424f7876ca5dee090a7365f8dda4d (patch)
tree0cf5093c2d4aabb053dea358cb8b4cab2dd4e35c /langs.php
parentce2ba690191cfd8adb0b03ed72a3f1b5d2221bef (diff)
downloadwww-5fd60b61d8c424f7876ca5dee090a7365f8dda4d.tar
www-5fd60b61d8c424f7876ca5dee090a7365f8dda4d.tar.gz
www-5fd60b61d8c424f7876ca5dee090a7365f8dda4d.tar.bz2
www-5fd60b61d8c424f7876ca5dee090a7365f8dda4d.tar.xz
www-5fd60b61d8c424f7876ca5dee090a7365f8dda4d.zip
change for
Diffstat (limited to 'langs.php')
-rw-r--r--langs.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/langs.php b/langs.php
index e2e414e06..0a96efe26 100644
--- a/langs.php
+++ b/langs.php
@@ -48,9 +48,9 @@ foreach ($langs as $k => $v)
}
// prevent 404 error on /{$locale}/ with missing translation
-function locale_path($locale,$path)
+function locale_path($loc,$path)
{
- $filename = "/".$locale."/".$path."/";
+ $filename = "/".$loc."/".$path."/";
$url = "/en/".$path;
if (file_exists($filename))
{