diff options
author | Damien Lallement <dams@mageia.org> | 2011-02-16 16:56:30 +0000 |
---|---|---|
committer | Damien Lallement <dams@mageia.org> | 2011-02-16 16:56:30 +0000 |
commit | 7bcedac7a22548d59ac64ce20d25c992c9e6bfc7 (patch) | |
tree | d654ce3e061badcad9c97eeafaf5db74a40caf4e /langs.php | |
parent | 648023845bb3dff8065e5ce9e53e9f3891ab11f0 (diff) | |
download | www-7bcedac7a22548d59ac64ce20d25c992c9e6bfc7.tar www-7bcedac7a22548d59ac64ce20d25c992c9e6bfc7.tar.gz www-7bcedac7a22548d59ac64ce20d25c992c9e6bfc7.tar.bz2 www-7bcedac7a22548d59ac64ce20d25c992c9e6bfc7.tar.xz www-7bcedac7a22548d59ac64ce20d25c992c9e6bfc7.zip |
debug
Diffstat (limited to 'langs.php')
-rw-r--r-- | langs.php | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -50,9 +50,9 @@ foreach ($langs as $k => $v) // prevent 404 error on /{$locale}/ with missing translation function locale_path($loc,$path) { - $filename = "/".$loc."/".$path."/"; + $filename = "/".$loc."/".$path; $url = "/en/".$path; - echo "filename: $filename-url: $url-loc: $loc-locale: $locale-path: $path"; + echo "filename: $filename-url: $url-loc: $loc-locale: {$locale}-path: $path"; if (file_exists($filename)) { $url = $filename; |