X-Git-Url: https://git.mxchange.org/?p=shipsimu.git;a=blobdiff_plain;f=inc%2Fconfig.php;h=65eba410628777f75095d58f48698c09617c8fdc;hp=751dc7a8661d13c6a2a1979ae0cf745287b7c523;hb=4392fbc6c1c211896c93020bd64201326211b8bc;hpb=6152aa255cee56a1c548f0f276978b0019663897 diff --git a/inc/config.php b/inc/config.php index 751dc7a..65eba41 100644 --- a/inc/config.php +++ b/inc/config.php @@ -267,7 +267,7 @@ $cfg->setConfigEntry('guest_class', "Guest"); $cfg->setConfigEntry('cookie_expire', (60*60*2)); // Two hours! // CFG: COOKIE-PATH -$cfg->setConfigEntry('cookie_path', dirname($_SERVER['SCRIPT_NAME']) . "/"); +$cfg->setConfigEntry('cookie_path', $cfg->detectScriptPath() . "/"); // CFG: COOKIE-DOMAIN $cfg->setConfigEntry('cookie_domain', $cfg->detectDomain()); // Is mostly the same...