mirror of
https://github.com/php/php-src.git
synced 2024-11-26 19:33:55 +08:00
simplify expression
This commit is contained in:
parent
f580540c8d
commit
2787a24f86
@ -647,7 +647,7 @@ PHPAPI FILE *php_fopen_with_path(const char *filename, const char *mode, const c
|
||||
if ((*filename == '.')
|
||||
/* Absolute path open */
|
||||
|| IS_ABSOLUTE_PATH(filename, filename_length)
|
||||
|| (!path || (path && !*path))
|
||||
|| (!path || !*path)
|
||||
) {
|
||||
return php_fopen_and_set_opened_path(filename, mode, opened_path);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user