mirror of
				https://github.com/Mibew/java.git
				synced 2025-10-31 18:41:09 +03:00 
			
		
		
		
	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:
		
							parent
							
								
									460efce20b
								
							
						
					
					
						commit
						44337317d7
					
				| @ -43,7 +43,7 @@ if( !isset($_GET['token']) || !isset($_GET['thread']) ) { | ||||
| 	$threadid = $thread['threadid']; | ||||
| 	$token = $thread['ltoken']; | ||||
| 	$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; | ||||
| } | ||||
| 
 | ||||
|  | ||||
| @ -260,7 +260,7 @@ function select_multi_assoc($query,$link) { | ||||
| 
 | ||||
| function start_xml_output() { | ||||
| 	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\"?>"; | ||||
| } | ||||
| 
 | ||||
|  | ||||
		Loading…
	
		Reference in New Issue
	
	Block a user