diff options
author | jwangen <jwangen> | 2002-10-23 06:52:50 +0000 |
---|---|---|
committer | jwangen <jwangen> | 2002-10-23 06:52:50 +0000 |
commit | cb6775d79a91c2dc7d8c8c21e6a0c84dbcb86948 (patch) | |
tree | 90e381aa603086c4cf735664b57e40fa127c1308 /functions/init.inc.php | |
parent | 609650a5e790ecd6c1107a8a8924936284a9c010 (diff) | |
download | phpicalendar-cb6775d79a91c2dc7d8c8c21e6a0c84dbcb86948.tar.gz phpicalendar-cb6775d79a91c2dc7d8c8c21e6a0c84dbcb86948.tar.bz2 phpicalendar-cb6775d79a91c2dc7d8c8c21e6a0c84dbcb86948.zip |
fixed bug
Diffstat (limited to 'functions/init.inc.php')
-rw-r--r-- | functions/init.inc.php | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/functions/init.inc.php b/functions/init.inc.php index fec8708..74e7480 100644 --- a/functions/init.inc.php +++ b/functions/init.inc.php @@ -25,7 +25,7 @@ include(BASE.'functions/error.php'); // language support $language = strtolower($language); -$lang_file = './languages/'.$language.'.inc.php'; +$lang_file = BASE.'languages/'.$language.'.inc.php'; if (file_exists($lang_file)) { include($lang_file); @@ -45,6 +45,9 @@ if (ini_get('max_execution_time') < 60) { ini_set('max_execution_time', '60'); } +$calendar_path_orig = $calendar_path; +$calendar_path = BASE.$calendar_path; + $is_webcal = FALSE; if (isset($HTTP_GET_VARS['cal']) && $HTTP_GET_VARS['cal'] != '') { $cal_decoded = urldecode($HTTP_GET_VARS['cal']); |