diff --git a/utils.inc.php b/utils.inc.php index cac9425..561e205 100644 --- a/utils.inc.php +++ b/utils.inc.php @@ -373,12 +373,12 @@ function upgradeWiki($srcDir, $destDir, $nobackup = false) $outputHibernate = implode('', $outputHibernate); $isHibernating = str_contains($outputHibernate, 'hibernate'); if ($isHibernating) { - $output .= '==== Get YesWiki out of hibernation'; + $output .= '==== Get YesWiki out of hibernation' . $bars; $output .= cli("sed -r -i -e \"s/(['\\\"]wiki_status['\\\"].*)/'wiki_status' => 'running',/\" $destDir/wakka.config.php"); } $output .= runUpgrades($sudo, $destDir, array_diff($installedExtensions, $defaultExtensions)); if ($isHibernating) { - $output .= '==== Get YesWiki back in hibernation'; + $output .= '==== Get YesWiki back in hibernation' . $bars; $output .= cli("sed -r -i -e \"s/(['\\\"]wiki_status['\\\"].*)/'wiki_status' => 'hibernate',/\" $destDir/wakka.config.php"); } $version = trim(cli("cat $destDir/includes/constants.php | grep YESWIKI_RELEASE | sed -r -e \"s/.*([0-9]+\\.[0-9]+\\.[0-9]+).*/\\1/\""));