mirror of
https://github.com/php/php-src.git
synced 2025-08-15 21:48:51 +02:00
MFH: no need to check if non-existing include_path complies with open_basedir setting
This commit is contained in:
parent
8b764bd08c
commit
073ee1397a
1 changed files with 0 additions and 5 deletions
|
@ -1272,11 +1272,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;
|
||||
}
|
||||
|
||||
if (PG(safe_mode) && (!php_checkuid(filename, mode, CHECKUID_CHECK_MODE_PARAM))) {
|
||||
return NULL;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue