This commit is contained in:
Rasmus Lerdorf 2009-11-15 00:24:06 +00:00
parent a70f288efa
commit 39c578d9bf

View File

@ -2344,7 +2344,7 @@ PHPAPI int php_execute_script(zend_file_handle *primary_file TSRMLS_DC)
#ifdef PHP_WIN32
zend_unset_timeout(TSRMLS_C);
#endif
zend_set_timeout(EG(timeout_seconds), 0);
zend_set_timeout(INI_INT("max_execution_time"), 0);
}
retval = (zend_execute_scripts(ZEND_REQUIRE TSRMLS_CC, NULL, 3, prepend_file_p, primary_file, append_file_p) == SUCCESS);