mirror of
https://github.com/php/php-src.git
synced 2024-09-23 10:57:26 +00:00
no need to check if non-existing include_path complies with open_basedir setting
the only result we can get is segfault
This commit is contained in:
parent
19787d38e9
commit
99e0a6f3d6
@ -1227,11 +1227,6 @@ not_relative_path:
|
||||
#endif
|
||||
|
||||
if (!path || (path && !*path)) {
|
||||
|
||||
if (((options & STREAM_DISABLE_OPEN_BASEDIR) == 0) && php_check_open_basedir(path TSRMLS_CC)) {
|
||||
return NULL;
|
||||
}
|
||||
|
||||
return php_stream_fopen_rel(filename, mode, opened_path, options);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user