]> git.mxchange.org Git - core.git/commitdiff
Continued:
authorRoland Häder <roland@mxchange.org>
Thu, 21 Aug 2025 20:36:35 +0000 (22:36 +0200)
committerRoland Häder <roland@mxchange.org>
Thu, 21 Aug 2025 20:36:35 +0000 (22:36 +0200)
- also allow boolean configuration values from `*_loaded` keys
- removed superflous 'config_ssl' configuration key

application/tests/classes/filter/tests/configuration/is_enabled/class_TestsConfigurationIsEnabledFilter.php
framework/config-global.php

index af9aada25697b1c9f0b3ac0c5fa14a56a1dee9ab..452e4f7f0604473e06fe07d8d5e97cfb8704fa44 100644 (file)
@@ -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
index 864f6ed126b10e11f401de8379e49f3162295b5a..1ab9b54c6107801f3e0ed9f3f6968b7f0a13bf29 100644 (file)
@@ -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");