mirror of
https://github.com/php/php-src.git
synced 2025-08-18 06:58:55 +02:00
- Reverted r296062 and r296065
This commit is contained in:
parent
ea539c8b88
commit
af49e58f51
108 changed files with 3603 additions and 4297 deletions
|
@ -27,7 +27,7 @@
|
|||
*/
|
||||
int apache_php_module_main(request_rec *r, int display_source_mode TSRMLS_DC)
|
||||
{
|
||||
int retval = OK;
|
||||
int retval = OK;
|
||||
zend_file_handle file_handle;
|
||||
|
||||
if (php_request_startup(TSRMLS_C) == FAILURE) {
|
||||
|
@ -35,7 +35,7 @@ int apache_php_module_main(request_rec *r, int display_source_mode TSRMLS_DC)
|
|||
}
|
||||
/* sending a file handle to another dll is not working
|
||||
so let zend open it. */
|
||||
|
||||
|
||||
if (display_source_mode) {
|
||||
zend_syntax_highlighter_ini syntax_highlighter_ini;
|
||||
|
||||
|
@ -54,11 +54,11 @@ int apache_php_module_main(request_rec *r, int display_source_mode TSRMLS_DC)
|
|||
}
|
||||
|
||||
AP(in_request) = 0;
|
||||
|
||||
|
||||
zend_try {
|
||||
php_request_shutdown(NULL);
|
||||
} zend_end_try();
|
||||
|
||||
|
||||
return retval;
|
||||
}
|
||||
/* }}} */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue