if (strpos($path, $fileManagerFolder) === false) { | if (strpos($path, $fileManagerFolder) === false) { | ||||
$path = $fileManagerFolder . '/' . $path; | $path = $fileManagerFolder . '/' . $path; | ||||
} | } | ||||
//dump(file_exists($path)); | |||||
if (file_exists($path)) { | if (file_exists($path)) { | ||||
return $this->liipCacheHelper->getBrowserPath($path, $thumb); | return $this->liipCacheHelper->getBrowserPath($path, $thumb); | ||||
} | } |