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