mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-18 07:23:13 +00:00
Remove registry's GV_RootPath calls
This commit is contained in:
@@ -76,7 +76,7 @@ class TaskManager implements ControllerProviderInterface
|
||||
})->bind('admin_tasks_scheduler_stop');
|
||||
|
||||
$controllers->get('/scheduler/log', function(Application $app, Request $request) {
|
||||
$logdir = \p4string::addEndSlash($app['phraseanet.registry']->get('GV_RootPath') . 'logs');
|
||||
$logdir = $app['root.path'] . '/logs/';
|
||||
|
||||
$rname = '/scheduler((\.log)|(-.*\.log))$/';
|
||||
|
||||
@@ -114,7 +114,7 @@ class TaskManager implements ControllerProviderInterface
|
||||
})->bind('admin_tasks_scheduler_log');
|
||||
|
||||
$controllers->get('/task/{id}/log', function(Application $app, Request $request, $id) {
|
||||
$logdir = \p4string::addEndSlash($app['phraseanet.registry']->get('GV_RootPath') . 'logs');
|
||||
$logdir = $app['root.path'] . '/logs/';
|
||||
|
||||
$rname = '/task_' . $id . '((\.log)|(-.*\.log))$/';
|
||||
|
||||
|
Reference in New Issue
Block a user