require_once를 require로 다시 변경

server_close 시스템 변경 준비
This commit is contained in:
2018-01-14 13:49:50 +09:00
parent 35e92365f2
commit 599160d043
14 changed files with 39 additions and 43 deletions
+2 -11
View File
@@ -11,17 +11,8 @@ require_once(ROOT.W.F_FUNC.W.'class._JSON.php');
require_once(ROOT.W.F_CONFIG.W.DB.PHP);
require_once(ROOT.W.F_CONFIG.W.SESSION.PHP);
function getPost($str){
if(!isset($_POST[$str])){
return '';
}
$temp = $_POST[$str];
$temp=str_replace(" ","",$temp);
$temp=str_replace("\n","",$temp);
$temp=strip_tags($temp);
$temp=str_replace(" ","",$temp);
$temp=str_replace(" ","",$temp);
return $temp;
function escapeIPv4($ip){
return str_replace('.', '\\.', $ip);
}
$action = util::array_get($_POST['action'], '');