fix #380 fatal error when installing phraseanet

This commit is contained in:
Nicolas Le Goff
2012-02-15 19:29:29 +01:00
parent e798bd7eef
commit 5bf287539d

View File

@@ -67,7 +67,7 @@ class Core extends \Pimple
/**
* Cache Autoload if it's not debug mode
*/
static::initAutoloads(!$this->configuration->isDebug());
static::initAutoloads($this->configuration->isInstalled() && !$this->configuration->isDebug());
$this->init();