Handle VFS full path when generating VFS select contents

This commit is contained in:
Hadi Nategh 2019-01-07 15:05:56 +01:00
parent 08b4627c6a
commit 4d8a55fb17

View File

@ -416,6 +416,11 @@ class Vfs extends File
}
}
}
//handle VFS full path
if ($params['path'][0] != '/' && substr($params['path'], 0, 13) == Api\Vfs::PREFIX)
{
$params['path'] = substr($params['path'], 13);
}
if (!is_array($content))
{