mirror of
https://github.com/php/php-src.git
synced 2024-11-25 10:54:15 +08:00
API update
This commit is contained in:
parent
cc747779ce
commit
6bba521dd3
@ -1307,7 +1307,7 @@ PHPAPI int php_execute_script(zend_file_handle *primary_file TSRMLS_DC)
|
||||
} else {
|
||||
append_file_p = NULL;
|
||||
}
|
||||
zend_execute_scripts(ZEND_REQUIRE TSRMLS_CC, 3, prepend_file_p, primary_file, append_file_p);
|
||||
zend_execute_scripts(ZEND_REQUIRE TSRMLS_CC, NULL, 3, prepend_file_p, primary_file, append_file_p);
|
||||
} zend_end_try();
|
||||
|
||||
if (old_cwd[0] != '\0') {
|
||||
|
@ -498,7 +498,7 @@ static int send_php(request_rec *r, int display_source_mode, char *filename)
|
||||
fh.opened_path = NULL;
|
||||
fh.free_filename = 0;
|
||||
fh.type = ZEND_HANDLE_FILENAME;
|
||||
zend_execute_scripts(ZEND_INCLUDE TSRMLS_CC, 1, &fh);
|
||||
zend_execute_scripts(ZEND_INCLUDE TSRMLS_CC, NULL, 1, &fh);
|
||||
return OK;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user