rasmus                                   Sun, 15 Nov 2009 00:24:06 +0000

Revision: http://svn.php.net/viewvc?view=revision&revision=290767

Log:
Fix bug #49868

Bug: http://bugs.php.net/49868 (Assigned) max_execution_time affected by 
max_input_time
      
Changed paths:
    U   php/php-src/trunk/main/main.c

Modified: php/php-src/trunk/main/main.c
===================================================================
--- php/php-src/trunk/main/main.c       2009-11-15 00:21:31 UTC (rev 290766)
+++ php/php-src/trunk/main/main.c       2009-11-15 00:24:06 UTC (rev 290767)
@@ -2344,7 +2344,7 @@
 #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);


-- 
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to