mirror of
https://github.com/php/php-src.git
synced 2024-12-04 23:34:25 +08:00
Fix bug #48592
This commit is contained in:
parent
dabcff916d
commit
e70abda281
@ -451,7 +451,9 @@ PHPAPI int php_fopen_primary_script(zend_file_handle *file_handle TSRMLS_DC)
|
||||
}
|
||||
} /* if doc_root && path_info */
|
||||
|
||||
filename = zend_resolve_path(filename, strlen(filename) TSRMLS_CC);
|
||||
if(filename) {
|
||||
filename = zend_resolve_path(filename, strlen(filename) TSRMLS_CC);
|
||||
}
|
||||
|
||||
if (!filename) {
|
||||
/* we have to free SG(request_info).path_translated here because
|
||||
|
Loading…
Reference in New Issue
Block a user