getReq변경, ajax인 경우 ajax요청

This commit is contained in:
2020-05-05 00:19:01 +09:00
parent 1d6bd5acf6
commit f93739c0e0
69 changed files with 258 additions and 166 deletions
+1 -1
View File
@@ -5,7 +5,7 @@ namespace sammo;
include "lib.php";
include "func.php";
$type = Util::getReq('type', 'int', 0);
$type = Util::getPost('type', 'int', 0);
if ($type < 0 || $type > 4) {
$type = 0;
}