aboutsummaryrefslogtreecommitdiffstats
path: root/langs.php
diff options
context:
space:
mode:
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))
{