1
0
mirror of https://github.com/flarum/core.git synced 2025-10-19 02:36:08 +02:00

part one of adding tests, updating core

This commit is contained in:
Daniel Klabbers
2018-04-13 07:13:10 +02:00
parent 043aa0f2d9
commit dcb3821777
14 changed files with 310 additions and 9 deletions

View File

@@ -138,6 +138,7 @@ class InstallCommand extends AbstractCommand
protected function install()
{
try {
$this->debug = $this->dataSource->isDebugMode();
$this->dbConfig = $this->dataSource->getDatabaseConfiguration();
$validation = $this->getValidator()->make(
@@ -214,7 +215,7 @@ class InstallCommand extends AbstractCommand
$dbConfig = $this->dbConfig;
$config = [
'debug' => false,
'debug' => $this->debug,
'database' => [
'driver' => $dbConfig['driver'],
'host' => $dbConfig['host'],