comparison _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
comparison
equal deleted inserted replaced
-1:000000000000 0:b12c99b7c3f0
1 <?php
2 $lang=@file_get_contents("lang.tmp");
3 @include("lang/languages.php");
4 @include("lang/en.php");
5 @include("lang/$lang.php");
6 if($lang=="zh")
7 {
8 header("Content-Type: text/html; charset=gb2312");
9 }
10 else if($lang=="jp")
11 {
12 header("Content-Type: text/html; charset=shift-jis");
13 }
14
15 ?>