Changeset 28320 for trunk/include


Ignore:
Timestamp:
Apr 30, 2014, 8:52:28 PM (10 years ago)
Author:
rvelices
Message:

removed url compatibility with phpwebgallery 1.6 and below

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/section_init.inc.php

    r27336 r28320  
    9191if (script_basename() == 'picture')
    9292{
    93   // url compatibility with versions below 1.6
    94   if ( isset($_GET['image_id'])
    95        and isset($_GET['cat'])
    96        and is_numeric($_GET['cat']) )
    97   {
    98     $url = make_picture_url( array(
    99         'section' => 'categories',
    100         'category' => get_cat_info($_GET['cat']),
    101         'image_id' => $_GET['image_id']
    102       ) );
    103     redirect($url);
    104   }
    105 
    10693  $token = $tokens[$next_token];
    10794  $next_token++;
Note: See TracChangeset for help on using the changeset viewer.