mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-09 19:13:26 +00:00
Merge pull request #965 from romainneutron/host-configuration
[3.9] Add configuration per host
This commit is contained in:
@@ -199,9 +199,7 @@ class API_V1_result
|
||||
|
||||
$this->app['dispatcher']->dispatch(PhraseaEvents::API_RESULT, new ApiResultEvent());
|
||||
|
||||
$conf = $this->app['configuration.store'];
|
||||
|
||||
if (isset($conf['main']['api-timers']) && true === $conf['main']['api-timers']) {
|
||||
if ($this->app['conf']->get(['main', 'api-timers'], false)) {
|
||||
$ret['timers'] = $this->app['api.timers']->toArray();
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user