From 7b4a6232cac2d23d2aecf7aeca06643429e1805d Mon Sep 17 00:00:00 2001 From: rvelices Date: Sat, 1 Apr 2006 01:24:21 +0000 Subject: 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 --- index.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'index.php') 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() ); } -- cgit v1.2.3