X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=inc%2Fconfig.php;h=02302f23bdaac3ac818ccc4243a7bb7edda66cc2;hb=c9beed8839a04b5a170f2aca90b86623d097c5ad;hp=817609c98c8e3d47d6e6841c7712873dce679991;hpb=1c3a46c869307f45e3c456254b086503600f8602;p=shipsimu.git diff --git a/inc/config.php b/inc/config.php index 817609c..02302f2 100644 --- a/inc/config.php +++ b/inc/config.php @@ -222,13 +222,13 @@ $cfg->setConfigEntry('post_registration_action', "LoginAfterRegistrationAction") $cfg->setConfigEntry('user_class', "User"); // CFG: COOKIE-EXPIRE -$cfg->setConfigEntry('cookie_expire', 60*60*24*2); // Two hours! +$cfg->setConfigEntry('cookie_expire', 60*60*2); // Two hours! // CFG: COOKIE-PATH $cfg->setConfigEntry('cookie_path', dirname($_SERVER['SCRIPT_NAME']) . "/"); // CFG: COOKIE-DOMAIN -$cfg->setConfigEntry('cookie_domain', $cfg->readConfig('base_url')); // Is mostly the same... +$cfg->setConfigEntry('cookie_domain', $cfg->detectDomain()); // Is mostly the same... // CFG: COOKIE-SSL $cfg->setConfigEntry('cookie_ssl', (isset($_SERVER['HTTPS'])));