Changeset 857 for trunk/Modules/Redirection/Redirection.php
- Timestamp:
- Jan 20, 2016, 11:16:40 AM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Modules/Redirection/Redirection.php
r853 r857 24 24 Header($_SERVER['SERVER_PROTOCOL'].' 301 Moved Permanently'); 25 25 Header('Location: '.$Location); 26 return('<h3 align="center"> Požadovaná stránka byla přesunuta do nového umístění.</h3>');26 return('<h3 align="center">'.T('').'</h3>'); 27 27 } 28 28 … … 44 44 if($this->System->PathItems[0] == 'download.php') $Output = $this->Redirect($this->System->Link('/download/')); 45 45 if($this->System->PathItems[0] == 'serverlist.php') $Output = $this->Redirect($this->System->Link('/server/')); 46 if($this->System->PathItems[0] == 'info.php') $Output = $this->Redirect($this->System->Link('/info/')); 47 if($this->System->PathItems[0] == 'userlist.php') $Output = $this->Redirect($this->System->Link('/users/')); 48 if($this->System->PathItems[0] == 'promotion.php') $Output = $this->Redirect($this->System->Link('/promotion/')); 49 if($this->System->PathItems[0] == 'log.php') $Output = $this->Redirect($this->System->Link('/log/')); 46 50 if(count($this->System->PathItems) > 1) 47 51 {
Note:
See TracChangeset
for help on using the changeset viewer.