Files
core/twe/old/j_old_install3.php
T
Hide_D a3f83d1e95 Session 클래스 수정.
- Session클래스 내에서 global setter, getter 재정의
- Session클래스에서 static 함수로 getUserID, getUserGrade 재정의
- 내부 서버에서 getUserID, getUserGrade를 쓰던 것 Session 클래스로 통일
- SESSION.php가 requireLogin 기능을 수행하던것을 Session의 static 함수로 통합
2018-03-24 20:04:55 +09:00

15 lines
256 B
PHP

<?php
include "lib.php";
include "func.php";
if(Session::getUserGrade(true) < 5){
die('관리자 아님');
}
$connect=dbConn();
LogHistory(1);
//echo "<script>location.replace('index.php');</script>";
echo 'index.php'; //TODO:debug all and replace