SQLInjection 대응을 위해 파일 상단부에 $_POST, $_GET의 원하는 변수 타입명 지정
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
<?
|
||||
include "lib.php";
|
||||
|
||||
$justReset = isset($_GET['just_reset'])?intval($_GET['just_reset']):0;
|
||||
$justReset = Util::getReq('just_reset', 'int', 0);
|
||||
|
||||
if(file_exists("d_setting/set.php")){
|
||||
//DB 리셋만 하려는 것인지 검사 필요.
|
||||
|
||||
Reference in New Issue
Block a user