mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-02-02 03:19:56 +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;
|
return true;
|
||||||
}
|
}
|
||||||
// create not existing entry directories on the fly
|
// 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);
|
self::mkdir($dir,0,STREAM_MKDIR_RECURSIVE);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user