Changeset 1846 for trunk/category.php


Ignore:
Timestamp:
Feb 21, 2007, 6:46:56 AM (17 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.