cvs: php4(PHP_4_0_7) /main main.c
| From: | Zeev Suraski | Date: | Mon, 19 Nov 2001 15:00:43 +0000 |
| Subject: | cvs: php4(PHP_4_0_7) /main main.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-8255@lists.php.net to get a copy of this message | ||
zeev Mon Nov 19 10:00:43 2001 EDT
Modified files: (Branch: PHP_4_0_7)
/php4/main main.c
Log:
MFH
Index: php4/main/main.c
diff -u php4/main/main.c:1.404.2.3 php4/main/main.c:1.404.2.4
--- php4/main/main.c:1.404.2.3 Fri Aug 31 21:45:50 2001
+++ php4/main/main.c Mon Nov 19 10:00:42 2001
@@ -18,7 +18,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: main.c,v 1.404.2.3 2001/09/01 01:45:50 zeev Exp $ */
+/* $Id: main.c,v 1.404.2.4 2001/11/19 15:00:42 zeev Exp $ */
/* {{{ includes
*/
@@ -506,9 +506,8 @@
WRONG_PARAM_COUNT;
}
- convert_to_long_ex(new_timeout);
- zend_unset_timeout(TSRMLS_C);
- zend_set_timeout(Z_LVAL_PP(new_timeout));
+ convert_to_string_ex(new_timeout);
+ zend_alter_ini_entry("max_execution_time", sizeof("max_execution_time"),
Z_STRVAL_PP(new_timeout), Z_STRLEN_PP(new_timeout), PHP_INI_USER, PHP_INI_STAGE_RUNTIME);
}
/* }}} */