main.php -> index.php

This commit is contained in:
2018-02-03 05:30:12 +09:00
parent 02dce232fd
commit 7336847d04
10 changed files with 293 additions and 306 deletions
+3 -3
View File
@@ -23,15 +23,15 @@ $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();
//echo "<script>window.top.main.location.replace('index.php');</script>"; exit();
header('Content-Type: application/json');
echo json_encode([
'result' => false,
'reason' => '권한이 충분하지 않습니다.',
'redirect' => 'main.php',
'redirect' => 'index.php',
'page_target' => 'top'
]);
echo 'main.php';//TODO:debug all and replace
echo 'index.php';//TODO:debug all and replace
}
$msg = str_replace("|", "", $msg);