새로운 설정 파일을 위한 gitignore 확보

처리하지 않고 남겨둔 array 참조 해결

main.js 를 별도로 이동
This commit is contained in:
2018-01-21 01:45:09 +09:00
parent 3515fc637e
commit dd28eb768f
31 changed files with 570 additions and 400 deletions
+7
View File
@@ -24,6 +24,13 @@ $me = MYDB_fetch_array($result);
$con = checkLimit($me['userlevel'], $me['con'], $admin['conlimit']);
if($con >= 2) {
//echo "<script>window.top.main.location.replace('main.php');</script>"; exit();
header('Content-Type: application/json');
echo json_encode([
'result' => false,
'reason' => '권한이 충분하지 않습니다.',
'redirect' => 'main.php',
'page_target' => 'top'
]);
echo 'main.php';//TODO:debug all and replace
}