* [MOD] Updated PHP-DI

* [MOD] Improved some setup behaviour
This commit is contained in:
nuxsmin
2018-07-30 22:47:59 +02:00
parent 118cbef961
commit 0c8bb3ce3d
12 changed files with 123 additions and 84 deletions

View File

@@ -43,7 +43,7 @@ use SP\Services\User\UserService;
use SP\Services\UserGroup\UserGroupService;
use SP\Services\UserProfile\UserProfileService;
use SP\Storage\Database\DatabaseUtil;
use SP\Storage\Database\MySQLHandler;
use SP\Storage\Database\DBStorageInterface;
use SP\Util\Checks;
use SP\Util\Util;
@@ -331,7 +331,7 @@ final class ConfigManagerController extends ControllerBase
$template->setBase('config');
$template->addTemplate('info');
$template->assign('dbInfo', DatabaseUtil::getDBinfo($this->dic->get(MySQLHandler::class)));
$template->assign('dbInfo', DatabaseUtil::getDBinfo($this->dic->get(DBStorageInterface::class)));
$template->assign('dbName', $this->configData->getDbName() . '@' . $this->configData->getDbHost());
$template->assign('configBackupDate', date('r', $this->dic->get(ConfigService::class)->getByParam('config_backup_date', 0)));
$template->assign('plugins', $this->dic->get(PluginManager::class)->getLoadedPlugins());