Rozdiely pre Metafox/lib/Platon.php medzi verziami 1.3 a 1.4
verzia 1.3, 2005/11/07 22:24:36 |
verzia 1.4, 2005/11/07 23:32:32 |
|
|
* @access public |
* @access public |
*/ |
*/ |
|
|
/* $Platon: phpPlatonLib/Platon/Platon.php,v 1.32 2005/11/07 22:02:29 nepto Exp $ */ |
/* $Platon: phpPlatonLib/Platon/Platon.php,v 1.33 2005/11/07 23:21:17 nepto Exp $ */ |
|
|
class Platon |
class Platon |
{ |
{ |
|
|
array('sk', 'cz', 'cs'), |
array('sk', 'cz', 'cs'), |
array('en', 'gb', 'us', 'au') |
array('en', 'gb', 'us', 'au') |
); |
); |
$l_default = array_shift($l_core_ar); |
|
$l_user_ar = Platon::parse_HTTP_accept_language($accept_lang); |
$l_user_ar = Platon::parse_HTTP_accept_language($accept_lang); |
$l_tld = Platon::get_top_level_domain($remote_host); |
$l_tld = Platon::get_top_level_domain($remote_host); |
$l_tld != false && $l_user_ar += array($l_tld); |
$l_tld != false && $l_user_ar += array($l_tld); |
|
|
break; |
break; |
} |
} |
} |
} |
return $l_default; |
return false; |
} /* }}} */ |
} /* }}} */ |
|
|
} |
} |
Platon Group <platon@platon.sk> http://platon.sk/
|
|