Revision 1137
Added by Ruud over 15 years ago
class.frontend.php | ||
---|---|---|
144 | 144 |
// Check if the page language is also the selected language. If not, send headers again. |
145 | 145 |
if ($this->page['language']!=LANGUAGE) { |
146 | 146 |
if(isset($_SERVER['QUERY_STRING']) && $_SERVER['QUERY_STRING'] != '') { // check if there is an query-string |
147 |
header('Location: '.$this->page_link($this->page['link']).'?lang='.$this->page['language'].'&'.$_SERVER['QUERY_STRING']);
|
|
147 |
header('Location: '.$this->page_link($this->page['link']).'?'.$_SERVER['QUERY_STRING'].'&lang='.$this->page['language']);
|
|
148 | 148 |
} else { |
149 | 149 |
header('Location: '.$this->page_link($this->page['link']).'?lang='.$this->page['language']); |
150 | 150 |
} |
Also available in: Unified diff
Changed the default searchform name in the installer. (ticket #775)
Fixed the recursive redirect problem when a page is called with a wrong language parm (ticket #780)