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