Try to create home directory if it's not exist. Fix file upload to compose dialog fails if user has no run access to filemanager and has no home folder set

This commit is contained in:
Hadi Nategh 2017-05-16 16:51:35 +02:00
parent a94cc8616d
commit a74d3db798

View File

@ -908,7 +908,7 @@ class StreamWrapper implements StreamWrapperIface
while (($rel_path = Vfs::basename($url).($rel_path ? '/'.$rel_path : '')) &&
($url = Vfs::dirname($url)))
{
if (($stat = $this->url_stat($url,0,false,false)))
if (($stat = $this->url_stat($url,0,true,false)))
{
if (is_link($url) && ($lpath = Vfs::readlink($url)))
{