aboutsummaryrefslogtreecommitdiffstats
path: root/index.php
diff options
context:
space:
mode:
authorrvelices <rv-github@modusoptimus.com>2006-04-11 03:55:51 +0000
committerrvelices <rv-github@modusoptimus.com>2006-04-11 03:55:51 +0000
commitfd77b2c30c92f34fc1e86a93e3fc0a138ca9099e (patch)
treee2078ff9dbd80106513a146cc201b477e078472e /index.php
parenta820112d5993f2706baf7ebd555445ad63ab8e9d (diff)
merge r1144 from branch-1_6 into trunk
git-svn-id: http://piwigo.org/svn/trunk@1145 68402e56-0260-453c-a942-63ccdbb3a9ee
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() );
}