cvs: php4 /sapi/cgi cgi_main.c
| From: | Edin Kadribasic | Date: | Sun, 26 May 2002 13:12:33 +0000 |
| Subject: | cvs: php4 /sapi/cgi cgi_main.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-12103@lists.php.net to get a copy of this message | ||
edink Sun May 26 09:12:33 2002 EDT
Modified files:
/php4/sapi/cgi cgi_main.c
Log:
Merge from cli.
Index: php4/sapi/cgi/cgi_main.c
diff -u php4/sapi/cgi/cgi_main.c:1.170 php4/sapi/cgi/cgi_main.c:1.171
--- php4/sapi/cgi/cgi_main.c:1.170 Sat May 11 10:26:29 2002
+++ php4/sapi/cgi/cgi_main.c Sun May 26 09:12:30 2002
@@ -1020,11 +1020,8 @@
switch (behavior) {
case PHP_MODE_STANDARD:
- if (php_execute_script(&file_handle TSRMLS_CC)) {
- exit_status = EG(exit_status);
- } else {
- exit_status = 255;
- }
+ php_execute_script(&file_handle TSRMLS_CC);
+ exit_status = EG(exit_status);
break;
case PHP_MODE_LINT:
PG(during_request_startup) = 0;