diff options
author | jwangen <jwangen> | 2002-10-16 22:51:27 +0000 |
---|---|---|
committer | jwangen <jwangen> | 2002-10-16 22:51:27 +0000 |
commit | 7c88f956c367f58bb62447ad4804d6821563400c (patch) | |
tree | 4555120ea7c0080e5d52eeb2957253e6b600f9ea /functions/init.inc.php | |
parent | 3c66d867ef0b06e988272b42f7dca367f328e1de (diff) | |
download | phpicalendar-7c88f956c367f58bb62447ad4804d6821563400c.tar.gz phpicalendar-7c88f956c367f58bb62447ad4804d6821563400c.tar.bz2 phpicalendar-7c88f956c367f58bb62447ad4804d6821563400c.zip |
No longer reduces max_execution_time to 60, only increases to 60.
Diffstat (limited to 'functions/init.inc.php')
-rw-r--r-- | functions/init.inc.php | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/functions/init.inc.php b/functions/init.inc.php index b7077a8..7b38b4a 100644 --- a/functions/init.inc.php +++ b/functions/init.inc.php @@ -39,7 +39,9 @@ if (isset($HTTP_GET_VARS['getdate']) && ($HTTP_GET_VARS['getdate'] !== '')) { $getdate = date('Ymd'); } */ -ini_set('max_execution_time', '60'); +if (ini_get('max_execution_time') < 60) { + ini_set('max_execution_time', '60'); +} $is_webcal = FALSE; if (isset($HTTP_GET_VARS['cal']) && $HTTP_GET_VARS['cal'] != '') { |