Makes static thumbnails delivery as default delivery && set symlink dir in www directory

This commit is contained in:
Nicolas Le Goff
2014-12-10 18:27:35 +01:00
parent 81a692a44e
commit a3ef1b606c
23 changed files with 85 additions and 561 deletions

View File

@@ -1564,7 +1564,7 @@ class record_adapter implements record_Interface, cache_cacheableInterface
if (!$subdef->is_physically_present())
continue;
if ($subdef->get_name() === 'thumbnail' && $this->app['phraseanet.static-file-factory']->isStaticFileModeEnabled()) {
if ($subdef->get_name() === 'thumbnail') {
$this->app['filesystem']->remove($this->app['phraseanet.thumb-symlinker']->getSymlinkPath($subdef->get_pathfile()));
}