diff options
author | Damien Lallement <dams@mageia.org> | 2011-02-16 16:44:59 +0000 |
---|---|---|
committer | Damien Lallement <dams@mageia.org> | 2011-02-16 16:44:59 +0000 |
commit | 5e4d6875a027ba788f017e53186b8e275328820c (patch) | |
tree | ab5dc1152057d92e5f29cba907bd0d90b61ffa91 /langs.php | |
parent | 9f9914aaab2581a452e1ad4d85fe13059614f4c8 (diff) | |
download | www-5e4d6875a027ba788f017e53186b8e275328820c.tar www-5e4d6875a027ba788f017e53186b8e275328820c.tar.gz www-5e4d6875a027ba788f017e53186b8e275328820c.tar.bz2 www-5e4d6875a027ba788f017e53186b8e275328820c.tar.xz www-5e4d6875a027ba788f017e53186b8e275328820c.zip |
update locale_path function
Diffstat (limited to 'langs.php')
-rw-r--r-- | langs.php | 5 |
1 files changed, 1 insertions, 4 deletions
@@ -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; } |