개별 서버 리셋 과정에서 운영자의 권한을 제대로 확인하지 않는 문제점을 수정
- 임시적인 우회책임.
This commit is contained in:
@@ -4,6 +4,31 @@ include "func.php";
|
||||
|
||||
$connect=dbConn();
|
||||
|
||||
|
||||
$query = "select count(no) as cnt from general where user_id = 'admin'";
|
||||
$result = MYDB_query($query, $connect) or Error(__LINE__.MYDB_error($connect),"");
|
||||
$me = MYDB_fetch_array($result);
|
||||
|
||||
if($me['cnt']) {
|
||||
echo "
|
||||
<html>
|
||||
<head>
|
||||
<title>관리메뉴</title>
|
||||
<meta HTTP-EQUIV='Content-Type' CONTENT='text/html; charset=utf-8'>
|
||||
<link rel=stylesheet href=stylesheet.php type=text/css>
|
||||
</head>
|
||||
<body oncontextmenu='return false'>
|
||||
서버가 제대로 초기화되지 않았습니다.<br>
|
||||
";
|
||||
banner();
|
||||
echo "
|
||||
</body>
|
||||
</html>";
|
||||
|
||||
exit();
|
||||
}
|
||||
|
||||
|
||||
switch($scenario) {
|
||||
case 0: $startyear = 180; break;
|
||||
case 1: $startyear = 184 - 3; break;
|
||||
|
||||
Reference in New Issue
Block a user