From 5bf287539d2b3e8cda12a1befa44c65a789d4da0 Mon Sep 17 00:00:00 2001 From: Nicolas Le Goff Date: Wed, 15 Feb 2012 19:29:29 +0100 Subject: [PATCH] fix #380 fatal error when installing phraseanet --- lib/Alchemy/Phrasea/Core.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/Alchemy/Phrasea/Core.php b/lib/Alchemy/Phrasea/Core.php index 3774d358b8..94697297e3 100644 --- a/lib/Alchemy/Phrasea/Core.php +++ b/lib/Alchemy/Phrasea/Core.php @@ -67,8 +67,8 @@ 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(); /**