|
@@ -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);
|