session cookie path (bug #1370294)

This commit is contained in:
Sebastian Mendel
2005-12-01 08:57:20 +00:00
parent f05a0df6f6
commit 76f7c21270
2 changed files with 9 additions and 4 deletions

View File

@@ -10,6 +10,7 @@ $Source$
missing '/' in img path (bug #1370437)
* libraries/Config.class.php:
no error for missing config file (bug #1370269)
* libraries/session.inc.php: session cookie path (bug #1370294)
2005-11-30 Michal Čihař <michal@cihar.com>
* lang/*: Messages for Sebastian.

View File

@@ -35,6 +35,10 @@ if (!@function_exists('session_name')) {
exit();
}
// session cookie settings
session_set_cookie_params( 0, $GLOBALS['cookie_path'],
'', $GLOBALS['is_https'] );
// disable starting of sessions before all settings are done
ini_set( 'session.auto_start', false );