1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-11 17:14:42 +02:00

Bugfix - Login was failing when using parked domains with subdomain language-redirection enabled.

This commit is contained in:
CaMer0n
2007-03-31 01:18:33 +00:00
parent caf28296ff
commit a3958232ef
4 changed files with 38 additions and 26 deletions

View File

@@ -4,8 +4,8 @@
| e107 website system - Language Class.
|
| $Source: /cvs_backup/e107_0.8/e107_handlers/language_class.php,v $
| $Revision: 1.3 $
| $Date: 2007-01-01 15:31:54 $
| $Revision: 1.4 $
| $Date: 2007-03-31 01:18:33 $
| $Author: e107coders $
+----------------------------------------------------------------------------+
*/
@@ -235,7 +235,7 @@ class language{
{
global $pref;
$codelnk = ($language == $pref['sitelanguage']) ? "www" : $this->convert($language);
$urlval = str_replace($_SERVER['HTTP_HOST'],$codelnk.$pref['multilanguage_subdomain'],e_SELF);
$urlval = str_replace($_SERVER['HTTP_HOST'],$codelnk.".".e_DOMAIN,e_SELF);
return $urlval;
}