diff _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 diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/_xampp/langsettings.php	Mon Jan 19 17:13:49 2015 +0100
@@ -0,0 +1,15 @@
+<?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");
+	}
+
+?>