mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-16 14:33:14 +00:00
Add configuration getter
This commit is contained in:
@@ -174,6 +174,15 @@ class Core extends \Pimple
|
|||||||
return \User_Adapter::getInstance($session->get_usr_id(), $appbox);
|
return \User_Adapter::getInstance($session->get_usr_id(), $appbox);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
*
|
||||||
|
* @return Core\Configuration
|
||||||
|
*/
|
||||||
|
public function getConfiguration()
|
||||||
|
{
|
||||||
|
return $this->conf;
|
||||||
|
}
|
||||||
|
|
||||||
protected function verifyTimezone()
|
protected function verifyTimezone()
|
||||||
{
|
{
|
||||||
if ($this->getRegistry()->is_set('GV_timezone'))
|
if ($this->getRegistry()->is_set('GV_timezone'))
|
||||||
|
Reference in New Issue
Block a user