Ignore:
Timestamp:
Feb 21, 2007, 6:46:56 AM (18 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/include/functions.inc.php

    r1844 r1846  
    690690
    691691  // with RefeshTime <> 0, only html must be used
    692   if (($conf['default_redirect_method'] == 'http') and ($refresh_time == 0))
     692  if ($conf['default_redirect_method']=='http'
     693      and $refresh_time==0
     694      and !headers_sent()
     695    )
    693696  {
    694697    redirect_http($url);
Note: See TracChangeset for help on using the changeset viewer.