diff --git a/install/froxlor.sql.php b/install/froxlor.sql.php index 5d635df3..382b0857 100644 --- a/install/froxlor.sql.php +++ b/install/froxlor.sql.php @@ -742,7 +742,7 @@ opcache.validate_timestamps'), ('panel', 'logo_overridecustom', '0'), ('panel', 'settings_mode', '0'), ('panel', 'version', '2.0.0-beta1'), - ('panel', 'db_version', '202211030'); + ('panel', 'db_version', '202212060'); DROP TABLE IF EXISTS `panel_tasks`; diff --git a/install/updates/froxlor/update_2.x.inc.php b/install/updates/froxlor/update_2.x.inc.php index 17a292a5..a4c35152 100644 --- a/install/updates/froxlor/update_2.x.inc.php +++ b/install/updates/froxlor/update_2.x.inc.php @@ -196,3 +196,21 @@ if (Froxlor::isDatabaseVersion('202112310')) { Froxlor::updateToDbVersion('202211030'); } + +if (Froxlor::isDatabaseVersion('202211030')) { + + Update::showUpdateStep("Creating backward compatibility for cronjob"); + $complete_filedir = Froxlor::getInstallDir() . '/scripts'; + mkdir($complete_filedir, 0750, true); + $newCronBin = Froxlor::getInstallDir().'/bin/froxlor-cli'; + $compCron = <<setCronLog(0); diff --git a/lib/Froxlor/Froxlor.php b/lib/Froxlor/Froxlor.php index 01297934..5ab0d98e 100644 --- a/lib/Froxlor/Froxlor.php +++ b/lib/Froxlor/Froxlor.php @@ -34,7 +34,7 @@ final class Froxlor const VERSION = '2.0.0-beta1'; // Database version (YYYYMMDDC where C is a daily counter) - const DBVERSION = '202211030'; + const DBVERSION = '202212060'; // Distribution branding-tag (used for Debian etc.) const BRANDING = '';