From 7bcedac7a22548d59ac64ce20d25c992c9e6bfc7 Mon Sep 17 00:00:00 2001 From: Damien Lallement Date: Wed, 16 Feb 2011 16:56:30 +0000 Subject: debug --- langs.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'langs.php') diff --git a/langs.php b/langs.php index 33de49e32..75828707c 100644 --- a/langs.php +++ b/langs.php @@ -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; -- cgit v1.2.1