Changeset 28320


Ignore:
Timestamp:
04/30/14 20:52:28 (5 years ago)
Author:
rvelices
Message:

removed url compatibility with phpwebgallery 1.6 and below

Location:
trunk
Files:
1 deleted
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.