cvs: /php4 main.c

From: Date: Sun, 16 Jan 2000 14:34:59 +0000
Subject: cvs: /php4 main.c
Groups: php.version4 
Request: Send a blank email to php-version4+get-9173@lists.php.net to get a copy of this message
thies Sun Jan 16 06:34:59 2000 EDT Modified files: /php4 main.c Log: move call to php_execute_pre_request_shutdown() into php_request_shutdown() so it will be called when script terminated due to call to exit(). Index: php4/main.c diff -u php4/main.c:1.176 php4/main.c:1.177 --- php4/main.c:1.176 Sun Jan 16 04:34:18 2000 +++ php4/main.c Sun Jan 16 06:34:28 2000 @@ -19,7 +19,7 @@ */ -/* $Id: main.c,v 1.176 2000/01/16 12:34:18 thies Exp $ */ +/* $Id: main.c,v 1.177 2000/01/16 14:34:28 thies Exp $ */ #include <stdio.h> @@ -797,6 +797,8 @@ ELS_FETCH(); SLS_FETCH(); + php_execute_pre_request_shutdown(PLS_C); + sapi_send_headers(); php_end_ob_buffering(SG(request_info).headers_only?0:1); @@ -1298,7 +1300,6 @@ EG(active_op_array) = EG(main_op_array); php_execute_post_request_startup(PLS_C); zend_execute(EG(main_op_array) ELS_CC); - php_execute_pre_request_shutdown(PLS_C); } }

« previous php.version4 (#9173) next »