Ticket #2860: 2860.diff
File 2860.diff, 579 bytes (added by , 19 years ago) |
---|
-
pluggable.php
284 284 global $is_IIS; 285 285 286 286 $location = str_replace( array("\n", "\r"), '', $location); 287 288 if ($is_IIS) 289 header("Refresh: 0;url=$location"); 290 else 291 header("Location: $location"); 287 288 if( !headers_sent() ) { 289 if ($is_IIS) 290 header("Refresh: 0;url=$location"); 291 else 292 header("Location: $location"); 293 } else 294 echo "<meta http-equiv='refresh' content='0;url=$location' />"; 292 295 } 293 296 endif; 294 297