From ab40a87fc3754415d78ddc99bec58ed9b2df8075 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Roland=20H=C3=A4der?= Date: Thu, 21 Aug 2025 22:36:35 +0200 Subject: [PATCH] Continued: - also allow boolean configuration values from `*_loaded` keys - removed superflous 'config_ssl' configuration key --- .../is_enabled/class_TestsConfigurationIsEnabledFilter.php | 2 +- framework/config-global.php | 3 --- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/application/tests/classes/filter/tests/configuration/is_enabled/class_TestsConfigurationIsEnabledFilter.php b/application/tests/classes/filter/tests/configuration/is_enabled/class_TestsConfigurationIsEnabledFilter.php index af9aada2..452e4f7f 100644 --- a/application/tests/classes/filter/tests/configuration/is_enabled/class_TestsConfigurationIsEnabledFilter.php +++ b/application/tests/classes/filter/tests/configuration/is_enabled/class_TestsConfigurationIsEnabledFilter.php @@ -78,7 +78,7 @@ class TestsConfigurationIsEnabledFilter extends BaseTestsFilter implements Filte foreach (FrameworkBootstrap::getConfigurationInstance()->getConfigurationArray() as $configKey => $configValue) { // Key must end with _class //* NOISY-DEBUG: */ self::createDebugInstance(__CLASS__, __LINE__)->debugMessage(sprintf('TESTS-CONFIGURATION-IS-ENABLED-FILTER: configKey[%s]=%s,configValue[%s]=%s', gettype($configKey), $configKey, gettype($configValue), $configValue)); - if (substr($configKey, 0, 3) != 'is_' && substr($configKey, -8, 8) != '_enabled') { + if (substr($configKey, 0, 3) != 'is_' && substr($configKey, -8, 8) != '_enabled' && substr($configKey, -7, 7) != '_loaded') { // Is this a boolean value? if (is_bool($configValue)) { // Issue a warning diff --git a/framework/config-global.php b/framework/config-global.php index 864f6ed1..1ab9b54c 100644 --- a/framework/config-global.php +++ b/framework/config-global.php @@ -277,9 +277,6 @@ $cfg->setConfigEntry('cookie_path', FrameworkBootstrap::detectScriptPath() . DIR // CFG: COOKIE-DOMAIN $cfg->setConfigEntry('cookie_domain', FrameworkBootstrap::detectDomain()); // Is mostly the same... -// CFG: COOKIE-SSL -$cfg->setConfigEntry('cookie_ssl', FrameworkBootstrap::isHttpSecured()); - // CFG: GERMAN-DATE-TIME $cfg->setConfigEntry('german_date_time', "%3\$s.%2\$s.%1\$s, %4\$s:%5\$s:%6\$s"); -- 2.39.5