rabin hace 3 años
padre
commit
627346082c
Se han modificado 1 ficheros con 2 adiciones y 1 borrados
  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);