Mercurial > hg > extraction-interface
view _xampp/langsettings.php @ 27:4a29bccb6c59
modify the SmartRegexSave method to prevent duplicated records in topic_regex_relation table and provide better promting to user to force saving regex file or not
author | Zoe Hong <zhong@mpiwg-berlin.mpg.de> |
---|---|
date | Tue, 03 Mar 2015 11:47:41 +0100 |
parents | b12c99b7c3f0 |
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"); } ?>