From 5fd60b61d8c424f7876ca5dee090a7365f8dda4d Mon Sep 17 00:00:00 2001 From: Damien Lallement Date: Wed, 16 Feb 2011 16:48:30 +0000 Subject: change for --- langs.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'langs.php') diff --git a/langs.php b/langs.php index e2e414e06..0a96efe26 100644 --- a/langs.php +++ b/langs.php @@ -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)) { -- cgit v1.2.1