fixes for some specific environments

git-svn-id: https://webim.svn.sourceforge.net/svnroot/webim/trunk@67 c66351dc-e62f-0410-b875-e3a5c0b9693f
This commit is contained in:
Evgeny Gryaznov 2008-05-07 21:47:09 +00:00
parent 460efce20b
commit 44337317d7
2 changed files with 2 additions and 2 deletions

View File

@ -43,7 +43,7 @@ if( !isset($_GET['token']) || !isset($_GET['thread']) ) {
$threadid = $thread['threadid']; $threadid = $thread['threadid'];
$token = $thread['ltoken']; $token = $thread['ltoken'];
$level = get_remote_level($_SERVER['HTTP_USER_AGENT']); $level = get_remote_level($_SERVER['HTTP_USER_AGENT']);
header("Location: ".dirname($_SERVER['PHP_SELF'])."/client.php?thread=$threadid&token=$token&level=$level"); header("Location: $webimroot/client.php?thread=$threadid&token=$token&level=$level");
exit; exit;
} }

View File

@ -260,7 +260,7 @@ function select_multi_assoc($query,$link) {
function start_xml_output() { function start_xml_output() {
header("Cache-Control: no-store, no-cache, must-revalidate"); header("Cache-Control: no-store, no-cache, must-revalidate");
header("Content-type: text/xml"); header("Content-type: text/xml; charset=utf-8");
echo "<?xml version=\"1.0\" encoding=\"UTF-8\"?>"; echo "<?xml version=\"1.0\" encoding=\"UTF-8\"?>";
} }