From 2c8bdfbbbc1f37ed3103fe8f2848a393a7da05cf Mon Sep 17 00:00:00 2001 From: Michael Kaufmann Date: Fri, 2 Sep 2022 13:23:51 +0200 Subject: [PATCH] set version to 0.10.38 for upcoming maintenance release Signed-off-by: Michael Kaufmann --- install/froxlor.sql | 2 +- install/updates/froxlor/0.10/update_0.10.inc.php | 5 +++++ lib/Froxlor/Api/Commands/PhpSettings.php | 2 +- lib/Froxlor/Froxlor.php | 2 +- 4 files changed, 8 insertions(+), 3 deletions(-) diff --git a/install/froxlor.sql b/install/froxlor.sql index f65c60ed..9df927df 100644 --- a/install/froxlor.sql +++ b/install/froxlor.sql @@ -723,7 +723,7 @@ opcache.validate_timestamps'), ('panel', 'logo_image_login', ''), ('panel', 'logo_overridetheme', '0'), ('panel', 'logo_overridecustom', '0'), - ('panel', 'version', '0.10.37'), + ('panel', 'version', '0.10.38'), ('panel', 'db_version', '202112310'); diff --git a/install/updates/froxlor/0.10/update_0.10.inc.php b/install/updates/froxlor/0.10/update_0.10.inc.php index 7ba07fb2..765f1a54 100644 --- a/install/updates/froxlor/0.10/update_0.10.inc.php +++ b/install/updates/froxlor/0.10/update_0.10.inc.php @@ -1001,3 +1001,8 @@ if (\Froxlor\Froxlor::isFroxlorVersion('0.10.36')) { showUpdateStep("Updating from 0.10.36 to 0.10.37", false); \Froxlor\Froxlor::updateToVersion('0.10.37'); } + +if (\Froxlor\Froxlor::isFroxlorVersion('0.10.37')) { + showUpdateStep("Updating from 0.10.37 to 0.10.38", false); + \Froxlor\Froxlor::updateToVersion('0.10.38'); +} diff --git a/lib/Froxlor/Api/Commands/PhpSettings.php b/lib/Froxlor/Api/Commands/PhpSettings.php index ae59726f..78299b5c 100644 --- a/lib/Froxlor/Api/Commands/PhpSettings.php +++ b/lib/Froxlor/Api/Commands/PhpSettings.php @@ -99,7 +99,7 @@ class PhpSettings extends \Froxlor\Api\ApiCommand implements \Froxlor\Api\Resour } // check whether we use that config as froxor-vhost config - if (Settings::Get('system.mod_fcgid_defaultini_ownvhost') == $row['id'] || Settings::Get('phpfpm.vhost_defaultini') == $row['id']) { + if ((Settings::Get('system.mod_fcgid') == '1' && Settings::Get('system.mod_fcgid_defaultini_ownvhost') == $row['id']) || (Settings::Get('phpfpm.enabled') == '1' && Settings::Get('phpfpm.vhost_defaultini') == $row['id'])) { $domains[] = Settings::Get('system.hostname'); } diff --git a/lib/Froxlor/Froxlor.php b/lib/Froxlor/Froxlor.php index 878b5f07..6e597130 100644 --- a/lib/Froxlor/Froxlor.php +++ b/lib/Froxlor/Froxlor.php @@ -7,7 +7,7 @@ final class Froxlor { // Main version variable - const VERSION = '0.10.37'; + const VERSION = '0.10.38'; // Database version (YYYYMMDDC where C is a daily counter) const DBVERSION = '202112310';