X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=inc%2Fconfig.php;h=3d68249aec9572bde3d78e6999e32eeecdd8b5fd;hb=976d57fe7ac564060778d10b1742d62cea5accfc;hp=1e0c07cd9cd747e557311e307c860bbcf0e33548;hpb=5b51dcafb603c3ca0b1945b38ae884a26550f3b5;p=core.git diff --git a/inc/config.php b/inc/config.php index 1e0c07cd..3d68249a 100644 --- a/inc/config.php +++ b/inc/config.php @@ -42,7 +42,7 @@ $cfg->setConfigEntry('base_url', $cfg->detectBaseUrl()); $cfg->setConfigEntry('db_type', 'local'); // CFG: LOCAL-DB-PATH -$cfg->setConfigEntry('local_db_path', $cfg->readConfig('base_path') . 'db/'); +$cfg->setConfigEntry('local_db_path', $cfg->getConfigEntry('base_path') . 'db/'); // CFG: TIME-ZONE $cfg->setDefaultTimezone('Europe/Berlin'); @@ -84,7 +84,7 @@ $cfg->setConfigEntry('compressor_base_path', 'inc/classes/main/compressor/'); $cfg->setConfigEntry('application_base_path', 'application/'); // CFG: APPLICATION-PATH -$cfg->setConfigEntry('application_path', $cfg->readConfig('base_path') . $cfg->readConfig('application_base_path')); +$cfg->setConfigEntry('application_path', $cfg->getConfigEntry('base_path') . $cfg->getConfigEntry('application_base_path')); // CFG: COMPILE-OUTPUT-PATH $cfg->setConfigEntry('compile_output_path', 'templates/_compiled/'); @@ -276,7 +276,7 @@ $cfg->setConfigEntry('cookie_path', $cfg->detectScriptPath() . '/'); $cfg->setConfigEntry('cookie_domain', $cfg->detectDomain()); // Is mostly the same... // CFG: COOKIE-SSL -$cfg->setConfigEntry('cookie_ssl', (isset($_SERVER['HTTPS']))); +$cfg->setConfigEntry('cookie_ssl', $cfg->isHttpSecured()); // CFG: CRYPT-FIXED-SALT $cfg->setConfigEntry('crypt_fixed_salt', 'N');