Revision 1983
Added by Dietmar about 11 years ago
class.frontend.php | ||
---|---|---|
80 | 80 |
*/ |
81 | 81 |
|
82 | 82 |
if( $this->get_session('session_started') ) { |
83 |
$_SESSION['USED_LANGUAGES'] = $this->GetLanguagesInUsed();
|
|
83 |
$_SESSION['USED_LANGUAGES'] = $this->getLanguagesInUsed();
|
|
84 | 84 |
} |
85 | 85 |
|
86 | 86 |
$maintance = ( defined('SYSTEM_LOCKED') && (SYSTEM_LOCKED==true) ? true : false ); |
... | ... | |
173 | 173 |
|
174 | 174 |
$bCanRedirect = false; |
175 | 175 |
// set defaults |
176 |
$aLanguagesDetailsInUsed = $this->GetLanguagesDetailsInUsed();
|
|
176 |
$aLanguagesDetailsInUsed = $this->getLanguagesDetailsInUsed();
|
|
177 | 177 |
$_SESSION['HTTP_REFERER'] = WB_URL; |
178 | 178 |
$_SESSION['PAGE_ID'] = $this->page_id; |
179 | 179 |
if($this->page_id != 0) { |
... | ... | |
189 | 189 |
$this->page = $get_page->fetchRow(MYSQL_ASSOC); |
190 | 190 |
|
191 | 191 |
// Check if the page language is also the selected language. If not, send headers again. |
192 |
if (($this->page['language'] != LANGUAGE) && $this->FrontendLanguage ) |
|
192 |
if (($this->page['language'] != LANGUAGE) && $this->FrontendLanguage && ($this->_oReg->PageLanguages) )
|
|
193 | 193 |
{ |
194 | 194 |
// check if there is an query-string |
195 | 195 |
if(isset($_SERVER['QUERY_STRING']) && $_SERVER['QUERY_STRING'] != '') { |
Also available in: Unified diff
! /framework/class.wb.php::getLanguagesDetailsInUsed() optimized
+ /framework/class.wb.php::getAvailableLanguagesObjectInstance()
! /framework/class.wb.php::getLanguagesInUsed() method optimized
! /framework/class.frontend.php update changes made in class.wb.php
! /framework/functions.php::rebuild_all_accessfiles() is no longer creating FolderProtectFiles