mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-17 06:53:15 +00:00
Remove registry's GV_RootPath calls
This commit is contained in:
@@ -574,7 +574,7 @@ abstract class task_abstract
|
||||
*/
|
||||
private function getLockfilePath()
|
||||
{
|
||||
$lockdir = $this->dependencyContainer['phraseanet.registry']->get('GV_RootPath') . 'tmp/locks/';
|
||||
$lockdir = $this->dependencyContainer['root.path'] . '/tmp/locks/';
|
||||
$lockfilePath = ($lockdir . 'task_' . $this->getID() . '.lock');
|
||||
|
||||
return $lockfilePath;
|
||||
|
Reference in New Issue
Block a user