From c8ed0004a2acbff53db4886b1719e433e2b19ee3 Mon Sep 17 00:00:00 2001 From: Nicolas Le Goff Date: Tue, 27 Dec 2011 12:56:57 +0100 Subject: [PATCH] Add configuration getter --- lib/Alchemy/Phrasea/Core.php | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/lib/Alchemy/Phrasea/Core.php b/lib/Alchemy/Phrasea/Core.php index a35fe63540..e12591717d 100644 --- a/lib/Alchemy/Phrasea/Core.php +++ b/lib/Alchemy/Phrasea/Core.php @@ -174,6 +174,15 @@ class Core extends \Pimple return \User_Adapter::getInstance($session->get_usr_id(), $appbox); } + /** + * + * @return Core\Configuration + */ + public function getConfiguration() + { + return $this->conf; + } + protected function verifyTimezone() { if ($this->getRegistry()->is_set('GV_timezone'))