aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChad Little <clittle@users.sourceforge.net>2004-08-16 18:33:46 +0000
committerChad Little <clittle@users.sourceforge.net>2004-08-16 18:33:46 +0000
commit889ae6ccf3e62002ca6b161800a0a73121fcbe21 (patch)
tree15d74c857705e3070d232aea2a7dcaca80a42726
parent97ea062431dbb23e1f28f84086a9a11d1b1d0bd7 (diff)
downloadphpicalendar-889ae6ccf3e62002ca6b161800a0a73121fcbe21.tar.gz
phpicalendar-889ae6ccf3e62002ca6b161800a0a73121fcbe21.tar.bz2
phpicalendar-889ae6ccf3e62002ca6b161800a0a73121fcbe21.zip
Odd workaround.
-rw-r--r--functions/init.inc.php1
1 files changed, 1 insertions, 0 deletions
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.'));

© 2014-2024 Faster IT GmbH | imprint | privacy policy