Setting에 closerServer, openServer를 통합. 서버 업데이트시 자동 폐쇄 상태로

This commit is contained in:
2018-04-01 20:31:20 +09:00
parent 4f113f210e
commit 97c6904918
5 changed files with 43 additions and 23 deletions
+4
View File
@@ -2,6 +2,10 @@
namespace sammo;
class WebUtil{
public static function escapeIPv4($ip){
return str_replace('.', '\\.', $ip);
}
public static function setHeaderNoCache(){
if(!headers_sent()) {
header('Expires: Wed, 01 Jan 2014 00:00:00 GMT');