Browse Source

Merge branch 'develop'

master
Guillaume 4 years ago
parent
commit
c9c6920393
1 changed files with 1 additions and 0 deletions
  1. +1
    -0
      ShopBundle/Twig/FrontendTwigExtension.php

+ 1
- 0
ShopBundle/Twig/FrontendTwigExtension.php View File

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);
} }

Loading…
Cancel
Save