mirror of
https://github.com/php/php-src.git
synced 2024-09-22 18:37:25 +00:00
Fixed bug #35512 (Lack of read permission on main script results in
E_WARNING rather then E_ERROR).
This commit is contained in:
parent
08ff489ef8
commit
2639d7e6d8
@ -1556,7 +1556,7 @@ ZEND_API int zend_execute_scripts(int type TSRMLS_DC, zval **retval, int file_co
|
||||
if (!file_handle) {
|
||||
continue;
|
||||
}
|
||||
EG(active_op_array) = zend_compile_file(file_handle, ZEND_INCLUDE TSRMLS_CC);
|
||||
EG(active_op_array) = zend_compile_file(file_handle, type TSRMLS_CC);
|
||||
if(file_handle->opened_path) {
|
||||
int dummy=1;
|
||||
zend_hash_add(&EG(included_files), file_handle->opened_path, strlen(file_handle->opened_path)+1, (void *)&dummy, sizeof(int), NULL);
|
||||
|
Loading…
Reference in New Issue
Block a user