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:
Antony Dovgal 2006-06-05 22:39:10 +00:00
parent 19787d38e9
commit 99e0a6f3d6

View File

@ -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);
}