Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
joyqi committed Oct 13, 2021
1 parent cac1c65 commit b33a9c4
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions install.php
Original file line number Diff line number Diff line change
Expand Up @@ -509,7 +509,13 @@ function install_raise_error($error, $config = null)
*/
function install_success($step, ?array $config = null)
{
global $installDb;

if (install_is_cli()) {
if ($step == 3) {
\Typecho\Db::set($installDb);
}

if ($step > 0) {
$method = 'install_step_' . $step . '_perform';
$method();
Expand Down

0 comments on commit b33a9c4

Please sign in to comment.