From c191f91f1cb03ce75f41f464bdf2f46a332432b8 Mon Sep 17 00:00:00 2001 From: Nicolas Le Goff Date: Tue, 27 Dec 2011 12:53:56 +0100 Subject: [PATCH] add environnement to bootstrap::execute --- lib/classes/bootstrap.class.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/classes/bootstrap.class.php b/lib/classes/bootstrap.class.php index b34f44efc1..011dae57e3 100644 --- a/lib/classes/bootstrap.class.php +++ b/lib/classes/bootstrap.class.php @@ -32,14 +32,14 @@ class bootstrap * * @return Alchemy\Phrasea\Core */ - public static function execute() + public static function execute($env = 'main') { if(static::$core) { return static::$core; } - static::$core = new Alchemy\Phrasea\Core(); + static::$core = new Alchemy\Phrasea\Core($env); return static::$core; }