mirror of
https://github.com/Mibew/i18n.git
synced 2025-01-22 21:40:28 +03:00
add redirect
git-svn-id: https://webim.svn.sourceforge.net/svnroot/webim/trunk@235 c66351dc-e62f-0410-b875-e3a5c0b9693f
This commit is contained in:
parent
99b3e9123a
commit
601c6601e6
@ -5,6 +5,11 @@ $default_locale = "en";
|
||||
$siteroot = "/site";
|
||||
$site_encoding = "utf-8";
|
||||
|
||||
if(preg_match("/live-im/", $_SERVER['HTTP_HOST'])) {
|
||||
header("Location: http://openwebim.org");
|
||||
exit;
|
||||
}
|
||||
|
||||
function myiconv($in_enc, $out_enc, $string) {
|
||||
if($in_enc == $out_enc ) {
|
||||
return $string;
|
||||
|
Loading…
Reference in New Issue
Block a user