mirror of
https://github.com/Piwigo/Piwigo.git
synced 2025-04-27 19:59:56 +03:00
removed url compatibility with phpwebgallery 1.6 and below
git-svn-id: http://piwigo.org/svn/trunk@28320 68402e56-0260-453c-a942-63ccdbb3a9ee
This commit is contained in:
parent
e9f39d188d
commit
38ccebec61
2 changed files with 0 additions and 78 deletions
|
@ -90,19 +90,6 @@ $next_token = 0;
|
|||
// the first token must be the identifier for the picture
|
||||
if (script_basename() == 'picture')
|
||||
{
|
||||
// url compatibility with versions below 1.6
|
||||
if ( isset($_GET['image_id'])
|
||||
and isset($_GET['cat'])
|
||||
and is_numeric($_GET['cat']) )
|
||||
{
|
||||
$url = make_picture_url( array(
|
||||
'section' => 'categories',
|
||||
'category' => get_cat_info($_GET['cat']),
|
||||
'image_id' => $_GET['image_id']
|
||||
) );
|
||||
redirect($url);
|
||||
}
|
||||
|
||||
$token = $tokens[$next_token];
|
||||
$next_token++;
|
||||
if ( is_numeric($token) )
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue