From 889ae6ccf3e62002ca6b161800a0a73121fcbe21 Mon Sep 17 00:00:00 2001 From: Chad Little Date: Mon, 16 Aug 2004 18:33:46 +0000 Subject: Odd workaround. --- functions/init.inc.php | 1 + 1 file changed, 1 insertion(+) diff --git a/functions/init.inc.php b/functions/init.inc.php index 131795d..fde7237 100644 --- a/functions/init.inc.php +++ b/functions/init.inc.php @@ -51,6 +51,7 @@ $language = strtolower($language); $lang_file = BASE.'/languages/'.$language.'.inc.php'; if (file_exists(realpath($lang_file))) { + unset($lang); include($lang_file); } else { exit(error('The requested language "'.$language.'" is not a supported language. Please use the configuration file to choose a supported language.')); -- cgit v1.2.3