mirror of
https://github.com/tursom/typecho-plugin-Access.git
synced 2026-08-19 08:13:27 +08:00
添加自动加载类 Access_Autoloader
This commit is contained in:
@@ -10,7 +10,8 @@ class Access_Action implements Widget_Interface_Do
|
||||
{
|
||||
$this->response = Typecho_Response::getInstance();
|
||||
$this->request = Typecho_Request::getInstance();
|
||||
require_once __DIR__ . '/Access_Bootstrap.php';
|
||||
require_once __DIR__ . '/Access_Autoloader.php';
|
||||
Access_Autoloader::register();
|
||||
$this->access = new Access_Core();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user