mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-17 15:03:25 +00:00
Fix root path registry value in setup mode
This commit is contained in:
@@ -20,6 +20,11 @@ class Setup_Registry implements registryInterface
|
||||
{
|
||||
protected $datas = array();
|
||||
|
||||
public function __construct()
|
||||
{
|
||||
$this->datas['GV_RootPath'] = realpath(__DIR__ . '/../../..') . '/';
|
||||
}
|
||||
|
||||
public function get($key, $defaultvalue = null)
|
||||
{
|
||||
return isset($this->datas[$key]) ? $this->datas[$key] : $defaultvalue;
|
||||
|
Reference in New Issue
Block a user