aboutsummaryrefslogtreecommitdiffstats
path: root/langs.php
diff options
context:
space:
mode:
Diffstat (limited to 'langs.php')
-rw-r--r--langs.php5
1 files changed, 1 insertions, 4 deletions
diff --git a/langs.php b/langs.php
index 45a5df512..26a1e839b 100644
--- a/langs.php
+++ b/langs.php
@@ -51,14 +51,11 @@ foreach ($langs as $k => $v)
function locale_path($locale,$path)
{
$filename = "/".$locale."/".$path."/";
+ $url = "/en/".$path;
if (file_exists($filename))
{
$url = $filename;
}
- else
- {
- $url = "/en/".$path;
- }
return $url;
}