modify plugin name
This commit is contained in:
@@ -46,16 +46,12 @@ abstract class BaseApplication extends Component
|
|||||||
public function __construct()
|
public function __construct()
|
||||||
{
|
{
|
||||||
Kiri::init($this);
|
Kiri::init($this);
|
||||||
|
|
||||||
$this->mapping($config['mapping'] ?? []);
|
|
||||||
|
|
||||||
$config = sweep(APP_PATH . '/config');
|
$config = sweep(APP_PATH . '/config');
|
||||||
|
$this->mapping($config['mapping'] ?? []);
|
||||||
$this->parseInt($config);
|
$this->parseInt($config);
|
||||||
$this->parseEvents($config);
|
$this->parseEvents($config);
|
||||||
$this->initErrorHandler();
|
$this->initErrorHandler();
|
||||||
$this->enableEnvConfig();
|
$this->enableEnvConfig();
|
||||||
|
|
||||||
parent::__construct();
|
parent::__construct();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user