add redirect

git-svn-id: https://webim.svn.sourceforge.net/svnroot/webim/trunk@235 c66351dc-e62f-0410-b875-e3a5c0b9693f
This commit is contained in:
Evgeny Gryaznov 2008-12-11 22:13:56 +00:00
parent 99b3e9123a
commit 601c6601e6

View File

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