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
This commit is contained in:
rvelices
2006-04-01 01:24:21 +00:00
parent 324f3c4279
commit 7b4a6232ca
3 changed files with 24 additions and 22 deletions
+1 -1
View File
@@ -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() );
}