mirror of
https://github.com/Piwigo/Piwigo.git
synced 2026-03-28 17:42:57 +01:00
add session id to url if no cookie is created
git-svn-id: http://piwigo.org/svn/branches/release-1_3@326 68402e56-0260-453c-a942-63ccdbb3a9ee
This commit is contained in:
@@ -109,7 +109,7 @@ if ( isset( $_POST['submit'] ) )
|
||||
}
|
||||
// redirection
|
||||
$url = 'category.php';
|
||||
if ( isset( $_POST['create_cookie'] ) ) $url = add_session_id( $url,true );
|
||||
if ( !isset($_POST['create_cookie']) ) $url = add_session_id( $url,true );
|
||||
header( 'Request-URI: '.$url );
|
||||
header( 'Content-Location: '.$url );
|
||||
header( 'Location: '.$url );
|
||||
|
||||
Reference in New Issue
Block a user