Ignore:
Timestamp:
Feb 22, 2015, 11:20:50 PM (10 years ago)
Author:
chronos
Message:
  • Modified: Tabs converted to spaces.
  • Modified: Remove spaces from end of lines.
  • Added: Code format script.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Modules/Redirection/Redirection.php

    r812 r816  
    1717  function Start()
    1818  {
    19         $this->System->OnPageNotFound = array($this, 'ShowRedirect');
     19    $this->System->OnPageNotFound = array($this, 'ShowRedirect');
    2020  }
    2121
    2222  function Redirect($Location)
    2323  {
    24         Header($_SERVER['SERVER_PROTOCOL'].' 301 Moved Permanently');
     24    Header($_SERVER['SERVER_PROTOCOL'].' 301 Moved Permanently');
    2525    Header('Location: '.$Location);
    2626    return('<h3 align="center">Požadovaná stránka byla přesunuta do nového umístění.</h3>');
     
    3232    if(count($this->System->PathItems) > 0)
    3333    {
    34         if($this->System->PathItems[0] == 'team.php') $Output = $this->Redirect($this->System->Link('/team/'));
     34      if($this->System->PathItems[0] == 'team.php') $Output = $this->Redirect($this->System->Link('/team/'));
    3535      if($this->System->PathItems[0] == 'version.php') $Output = $this->Redirect($this->System->Link('/client-version/'));
    3636      if($this->System->PathItems[0] == 'phpBB3') $Output = $this->Redirect($this->System->Link('/forum/'));
Note: See TracChangeset for help on using the changeset viewer.