Ignore:
Timestamp:
Dec 11, 2006, 7:04:53 AM (17 years ago)
Author:
rub
Message:

Feature Issue ID 0000602: Redirect must be done by html or http

Redirect it's only done by the html method but must be done too with http method.
Creation of two functions redirect_http and redirect_html.
Function redirect calls one or other functions follow $conf or parameters.

$conf value are true on BSF, in order to check modifications.
Must be set to false on RC.

File:
1 edited

Legend:

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

    r1643 r1649  
    610610  {
    611611    set_status_header(401);
    612     redirect($login_url);
     612    redirect_html($login_url);
    613613  }
    614614}
     
    624624  if ($alternate_url==null)
    625625    $alternate_url = make_index_url();
    626   redirect( $alternate_url,
     626  redirect_html( $alternate_url,
    627627    '<div style="text-align:left; margin-left:5em;margin-bottom:5em;">
    628628<h1 style="text-align:left; font-size:36px;">Page not found</h1><br/>'
Note: See TracChangeset for help on using the changeset viewer.