diff options
author | Chad Little <clittle@users.sourceforge.net> | 2004-08-16 18:33:46 +0000 |
---|---|---|
committer | Chad Little <clittle@users.sourceforge.net> | 2004-08-16 18:33:46 +0000 |
commit | 889ae6ccf3e62002ca6b161800a0a73121fcbe21 (patch) | |
tree | 15d74c857705e3070d232aea2a7dcaca80a42726 /functions/init.inc.php | |
parent | 97ea062431dbb23e1f28f84086a9a11d1b1d0bd7 (diff) | |
download | phpicalendar-889ae6ccf3e62002ca6b161800a0a73121fcbe21.tar.gz phpicalendar-889ae6ccf3e62002ca6b161800a0a73121fcbe21.tar.bz2 phpicalendar-889ae6ccf3e62002ca6b161800a0a73121fcbe21.zip |
Odd workaround.
Diffstat (limited to 'functions/init.inc.php')
-rw-r--r-- | functions/init.inc.php | 1 |
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.')); |