diff --git a/lib/Froxlor/Cli/UpdateCommand.php b/lib/Froxlor/Cli/UpdateCommand.php index 2f1fd27a..c97f6eaf 100644 --- a/lib/Froxlor/Cli/UpdateCommand.php +++ b/lib/Froxlor/Cli/UpdateCommand.php @@ -140,7 +140,7 @@ final class UpdateCommand extends CliCommand if ($yestoall || $helper->ask($input, $output, $question)) { // do extract $output->writeln('Extracting...'); - $auex = AutoUpdate::extractZip($audl); + $auex = AutoUpdate::extractZip(Froxlor::getInstallDir() . '/updates/' . $audl); if ($auex == 0) { $output->writeln("Froxlor files updated successfully."); $result = self::SUCCESS; @@ -188,7 +188,7 @@ final class UpdateCommand extends CliCommand include_once Froxlor::getInstallDir() . '/lib/tables.inc.php'; define('_CRON_UPDATE', 1); ob_start([ - 'this', + $this, 'cleanUpdateOutput' ]); include_once Froxlor::getInstallDir() . '/install/updatesql.php';