aboutsummaryrefslogtreecommitdiffstats
path: root/index.php
diff options
context:
space:
mode:
Diffstat (limited to 'index.php')
-rw-r--r--index.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/index.php b/index.php
index 1883e67b0..c48242e68 100644
--- a/index.php
+++ b/index.php
@@ -44,7 +44,8 @@ if ( isset( $_GET['act'] )
$_SESSION = array();
session_unset();
session_destroy();
- setcookie(session_name(),'',0, ini_get('session.cookie_path') );
+ setcookie(session_name(),'',0,
+ ini_get('session.cookie_path'), ini_get('session.cookie_domain') );
redirect( make_index_url() );
}