mirror of
https://github.com/e107inc/e107.git
synced 2025-04-20 04:32:01 +02:00
Possible fix to language redirection based on admin-perms issue.
This commit is contained in:
parent
5f75ba3144
commit
cc5f28e410
@ -404,6 +404,11 @@ class language{
|
||||
global $pref;
|
||||
$codelnk = ($language == $pref['sitelanguage']) ? "www" : $this->convert($language);
|
||||
|
||||
if($codelnk == '')
|
||||
{
|
||||
$codelnk = 'www';
|
||||
}
|
||||
|
||||
// $urlval = str_replace($_SERVER['HTTP_HOST'],$codelnk.".".e_DOMAIN,e_SELF);
|
||||
|
||||
$urlval = (e_QUERY)
|
||||
|
Loading…
x
Reference in New Issue
Block a user