improve : allow to redirect guest from index.php to identification.php (feature 470)
usefull if the whole gallery is private we lost it when category.php became index.php git-svn-id: http://piwigo.org/svn/trunk@1470 68402e56-0260-453c-a942-63ccdbb3a9ee
This commit is contained in:
parent
81126f9fb6
commit
12f7f1e837
2 changed files with 9 additions and 0 deletions
|
|
@ -48,6 +48,10 @@ if ( isset( $_GET['act'] )
|
|||
ini_get('session.cookie_path'), ini_get('session.cookie_domain') );
|
||||
redirect( make_index_url() );
|
||||
}
|
||||
if ($user['is_the_guest'] and !$conf['guest_access'])
|
||||
{
|
||||
redirect (get_root_url().'identification.php');
|
||||
}
|
||||
|
||||
//---------------------------------------------- change of image display order
|
||||
if (isset($_GET['image_order']))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue