mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-18 07:23:13 +00:00
Fix #1290 : Download xith xsendfile activated fails
This commit is contained in:
@@ -66,8 +66,8 @@ class XSendFileMappingGenerator extends Command
|
||||
private function computeMapping($paths)
|
||||
{
|
||||
return array_merge(array(
|
||||
array('mount-point' => 'lazaret', 'directory' => $this->container['root.path'] . '/tmp/lazaret'),
|
||||
array('mount-point' => 'download', 'directory' => $this->container['root.path'] . '/tmp/download'),
|
||||
array('mount-point' => 'protected_lazaret', 'directory' => $this->container['root.path'] . '/tmp/lazaret'),
|
||||
array('mount-point' => 'protected_download', 'directory' => $this->container['root.path'] . '/tmp/download'),
|
||||
), array_map(array($this, 'pathsToConf'), array_unique($paths)));
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user