aboutsummaryrefslogtreecommitdiffstats
path: root/index.php
diff options
context:
space:
mode:
authorrvelices <rv-github@modusoptimus.com>2006-04-01 01:24:21 +0000
committerrvelices <rv-github@modusoptimus.com>2006-04-01 01:24:21 +0000
commit7b4a6232cac2d23d2aecf7aeca06643429e1805d (patch)
tree98995f6dcd6d6e924c34fbbf9e09d6724e473090 /index.php
parent324f3c4279ee0d1ff24e297535f5a62cc777ace1 (diff)
fix: allow adviser message was not allowing cookies to be sent
fix: cookie deletion on logout uses ini_get (on some systems ini_set(cookie_path) is ignored) bug 322: locked category is visible to all the users/groups that have been assigned the permissions git-svn-id: http://piwigo.org/svn/trunk@1117 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to 'index.php')
-rw-r--r--index.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/index.php b/index.php
index 4e9454e34..3bb03d4bd 100644
--- a/index.php
+++ b/index.php
@@ -44,7 +44,7 @@ if ( isset( $_GET['act'] )
$_SESSION = array();
session_unset();
session_destroy();
- setcookie(session_name(),'',0, cookie_path() );
+ setcookie(session_name(),'',0, ini_get('session.cookie_path') );
redirect( make_index_url() );
}