rabin 3 년 전
부모
커밋
627346082c
1개의 변경된 파일2개의 추가작업 그리고 1개의 파일을 삭제
  1. 2 1
      service/agent/lib/Core.php

+ 2 - 1
service/agent/lib/Core.php

@@ -13,8 +13,9 @@ class Core
 
     public function __construct()
     {
+        $test = Dever::input('test');
         $config = Dever::db('setting/base')->one();
-        if($config['type'] == 2){
+        if($config['type'] == 2 || $test == 1){
             Dever::alert($config['type_desc'], -4);
         }
         $this->uid = Dever::load('passport/user')->check(false);