1
0
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:
Cameron 2014-06-02 00:42:41 -07:00
parent 5f75ba3144
commit cc5f28e410

View File

@ -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)