mirror of
https://github.com/php/php-src.git
synced 2026-03-30 20:22:36 +02:00
Merge branch 'PHP-7.0' into PHP-7.1
* PHP-7.0: Use full path
This commit is contained in:
@@ -1775,7 +1775,7 @@ zend_op_array *persistent_compile_file(zend_file_handle *file_handle, int type)
|
||||
if (EXPECTED(persistent_script != NULL) &&
|
||||
UNEXPECTED(ZCG(accel_directives).validate_permission) &&
|
||||
file_handle->type == ZEND_HANDLE_FILENAME &&
|
||||
UNEXPECTED(access(file_handle->filename, R_OK) != 0)) {
|
||||
UNEXPECTED(access(ZSTR_VAL(persistent_script->script.filename), R_OK) != 0)) {
|
||||
if (type == ZEND_REQUIRE) {
|
||||
zend_message_dispatcher(ZMSG_FAILED_REQUIRE_FOPEN, file_handle->filename TSRMLS_CC);
|
||||
zend_bailout();
|
||||
|
||||
Reference in New Issue
Block a user