view _xampp/langsettings.php @ 0:b12c99b7c3f0

commit for previous development
author Zoe Hong <zhong@mpiwg-berlin.mpg.de>
date Mon, 19 Jan 2015 17:13:49 +0100
parents
children
line wrap: on
line source

<?php
	$lang=@file_get_contents("lang.tmp");
	@include("lang/languages.php"); 
	@include("lang/en.php"); 
	@include("lang/$lang.php"); 
	if($lang=="zh")
	{
        	header("Content-Type: text/html; charset=gb2312");
	}
	else if($lang=="jp")
	{
       		header("Content-Type: text/html; charset=shift-jis");
	}

?>