* [DEV] Improved installer by using AJAX

* [DEV] Bugfixes
This commit is contained in:
nuxsmin
2016-10-27 23:27:35 +02:00
committed by Rubén Domínguez
parent 50f466ec44
commit 6caa4a02f4
29 changed files with 1098 additions and 425 deletions

View File

@@ -73,7 +73,7 @@ class Config
{
$Config = Session::getConfig();
return (gettype($Config) === 'object') ? $Config : self::arrayMapper();
return is_object($Config) ? $Config : self::arrayMapper();
}
/**
@@ -125,6 +125,10 @@ class Config
self::$Config = new ConfigData();
if (!file_exists(XML_CONFIG_FILE)){
return self::$Config;
}
try {
$items = DiFactory::getConfigStorage()->load('config')->getItems();
$Reflection = new ReflectionObject(self::$Config);