Ignore:
Timestamp:
Sep 17, 2008, 3:48:31 AM (16 years ago)
Author:
rvelices
Message:
  • fix status header (web services + IE6 min display)
  • sql optims in feed /notification
  • dont send cookie for 10 years from admin/history.php
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/functions_html.inc.php

    r2502 r2543  
    586586      .urlencode(urlencode($_SERVER['REQUEST_URI']));
    587587
     588  set_status_header(401);
    588589  if ( isset($user) and !is_a_guest() )
    589590  {
     
    591592    echo '<a href="'.get_root_url().'identification.php">'.l10n('identification').'</a>&nbsp;';
    592593    echo '<a href="'.make_index_url().'">'.l10n('home').'</a></div>';
     594    echo str_repeat( ' ', 512); //IE6 doesn't error output if below a size
    593595    exit();
    594596  }
    595597  else
    596598  {
    597     set_status_header(401);
    598599    redirect_html($login_url);
    599600  }
     
    678679
    679680  @set_status_header(500);
    680   echo $display.str_repeat( ' ', 300); //IE doesn't error output if below a size
     681  echo $display.str_repeat( ' ', 300); //IE6 doesn't error output if below a size
    681682
    682683  if ( function_exists('ini_set') )
     
    755756      case 404: $text='Not found';break;
    756757      case 500: $text='Server error';break;
     758      case 501: $text='Not implemented';break;
    757759      case 503: $text='Service unavailable';break;
    758760    }
Note: See TracChangeset for help on using the changeset viewer.