Commit e5dae408aa7c43ec29517959c06b3deb8a0e15f9

Authored by pengye
1 parent 57e69739

no message

... ... @@ -7,9 +7,8 @@ class Common extends Controller
protected $mod,$role,$system,$nav,$menudata,$cache_model,$categorys,$module,$moduleid,$adminRules,$HrefId;
public function initialize()
{
var_dump($_SESSION);die;
//判断管理员是否登录
if (!session('aid')) {
if (1) {
$this->redirect('admin/login/index');
}
define('MODULE_NAME',strtolower(request()->controller()));
... ...