mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-01-13 17:38:19 +01:00
fix some scrutinizer "bugs"
This commit is contained in:
parent
0a2b30f275
commit
9aa98a46a5
@ -302,7 +302,8 @@ class StreamWrapper extends LinksParent
|
||||
return true;
|
||||
}
|
||||
// create not existing entry directories on the fly
|
||||
if ($mode[0] != 'r' && !parent::url_stat($dir = Vfs::dirname($url),0) && self::check_extended_acl($dir,Vfs::WRITABLE))
|
||||
if ($mode[0] != 'r' && ($dir = Vfs::dirname($url)) &&
|
||||
!parent::url_stat($dir, 0) && self::check_extended_acl($dir, Vfs::WRITABLE))
|
||||
{
|
||||
self::mkdir($dir,0,STREAM_MKDIR_RECURSIVE);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user