mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-17 23:13:15 +00:00
Ensure symlink is always created
This commit is contained in:
@@ -24,4 +24,11 @@ abstract class AbstractStaticMode extends AbstractServerMode
|
||||
|
||||
parent::__construct($mapping);
|
||||
}
|
||||
|
||||
protected function ensureSymlink($pathFile)
|
||||
{
|
||||
if (false === $this->symlinker->hasSymlink($pathFile)) {
|
||||
$this->symlinker->symlink($pathFile);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user