Changeset 1846 for trunk/category.php


Ignore:
Timestamp:
02/21/07 06:46:56 (13 years ago)
Author:
rvelices
Message:
  • added check in redirect to see if headers have been sent before doing a redirect_http
  • old category.php uses redirect_http whenever possible
  • replaced some old {L_xxx} in picture.tpl
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/category.php

    r1288 r1846  
    5757} 
    5858 
    59 redirect ( make_index_url($url_params) ); 
     59$url = make_index_url($url_params); 
     60if (!headers_sent()) 
     61{ 
     62  set_status_header(302); 
     63  redirect_http( $url ); 
     64} 
     65redirect ( $url ); 
    6066 
    6167?> 
Note: See TracChangeset for help on using the changeset viewer.