cvs: php4 /main main.c
| From: | Ilia Alshanetsky | Date: | Sun, 17 Nov 2002 22:52:47 +0000 |
| Subject: | cvs: php4 /main main.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-16366@lists.php.net to get a copy of this message | ||
iliaa Sun Nov 17 17:52:47 2002 EDT
Modified files:
/php4/main main.c
Log:
Fixed bug #20466.
Index: php4/main/main.c
diff -u php4/main/main.c:1.513 php4/main/main.c:1.514
--- php4/main/main.c:1.513 Sun Nov 17 08:26:37 2002
+++ php4/main/main.c Sun Nov 17 17:52:47 2002
@@ -18,7 +18,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: main.c,v 1.513 2002/11/17 13:26:37 zeev Exp $ */
+/* $Id: main.c,v 1.514 2002/11/17 22:52:47 iliaa Exp $ */
/* {{{ includes
*/
@@ -79,6 +79,7 @@
#include "zend_highlight.h"
#include "zend_indent.h"
#include "zend_extensions.h"
+#include "zend_ini.h"
#include "php_content_types.h"
#include "php_ticks.h"
@@ -1544,7 +1545,7 @@
php_mb_set_zend_encoding(TSRMLS_C);
#endif /* ZEND_MULTIBYTE && HAVE_MBSTRING */
zend_unset_timeout(TSRMLS_C);
- zend_set_timeout(EG(timeout_seconds));
+ zend_set_timeout(INI_INT("max_execution_time"));
retval = (zend_execute_scripts(ZEND_REQUIRE TSRMLS_CC, NULL, 3, prepend_file_p, primary_file,
append_file_p) == SUCCESS);
if (old_primary_file_path) {