mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-08 10:34:34 +00:00
Move main "languages" and "servername" to top level, "task-manager" and "binaries" to main configuration
This commit is contained in:
@@ -307,7 +307,7 @@ class API_V1_adapter extends API_V1_Abstract
|
||||
$ret['phraseanet']['debug'] = $app['debug'];
|
||||
$ret['phraseanet']['maintenance'] = $app['conf']->get(['main', 'maintenance']);
|
||||
$ret['phraseanet']['errorsLog'] = $app['debug'];
|
||||
$ret['phraseanet']['serverName'] = $app['conf']->get(['main', 'servername']);
|
||||
$ret['phraseanet']['serverName'] = $app['conf']->get('servername');
|
||||
|
||||
return $ret;
|
||||
}
|
||||
@@ -325,7 +325,7 @@ class API_V1_adapter extends API_V1_Abstract
|
||||
$SEStatus = ['error' => $e->getMessage()];
|
||||
}
|
||||
|
||||
$binaries = $app['conf']->get('binaries');
|
||||
$binaries = $app['conf']->get(['main', 'binaries']);
|
||||
|
||||
return [
|
||||
'global_values' => [
|
||||
|
Reference in New Issue
Block a user