Move main "languages" and "servername" to top level, "task-manager" and "binaries" to main configuration

This commit is contained in:
Romain Neutron
2013-11-18 15:15:44 +01:00
parent af807431b1
commit c3df531f59
15 changed files with 168 additions and 32 deletions

View File

@@ -42,7 +42,7 @@ class registry implements registryInterface
$this->cache = new ArrayCache();
if ($app['phraseanet.configuration-tester']->isInstalled()) {
$this->cache->save('GV_ServerName', $app['conf']->get(['main', 'servername']));
$this->cache->save('GV_ServerName', $app['conf']->get('servername'));
$this->cache->save('GV_debug', $app['debug']);
if ($app['conf']->has(['main', 'key'])) {