diff options
-rw-r--r-- | langs.php | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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)) { |