mirror of
https://github.com/friendica/friendica
synced 2025-04-19 07:50:12 +00:00
Add Arguments & Modules class
This commit is contained in:
parent
f068d00645
commit
0af9747c6c
12 changed files with 1083 additions and 358 deletions
|
@ -111,7 +111,7 @@ class Install extends BaseModule
|
|||
self::checkSetting($configCache, $_POST, 'database', 'database', '');
|
||||
|
||||
// If we cannot connect to the database, return to the previous step
|
||||
if (!self::$installer->checkDB($configCache, $a->getProfiler())) {
|
||||
if (!self::$installer->checkDB($a->getDBA())) {
|
||||
self::$currentWizardStep = self::DATABASE_CONFIG;
|
||||
}
|
||||
|
||||
|
@ -135,7 +135,7 @@ class Install extends BaseModule
|
|||
self::checkSetting($configCache, $_POST, 'config', 'admin_email', '');
|
||||
|
||||
// If we cannot connect to the database, return to the Database config wizard
|
||||
if (!self::$installer->checkDB($configCache, $a->getProfiler())) {
|
||||
if (!self::$installer->checkDB($a->getDBA())) {
|
||||
self::$currentWizardStep = self::DATABASE_CONFIG;
|
||||
return;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue