mirror of
https://github.com/kokororin/typecho-plugin-Access.git
synced 2026-09-06 06:24:58 +08:00
添加自动加载类 Access_Autoloader
This commit is contained in:
@@ -1,6 +1,5 @@
|
||||
<?php
|
||||
define('__ACCESS_PLUGIN_ROOT__', __DIR__);
|
||||
|
||||
foreach (glob(__ACCESS_PLUGIN_ROOT__ . '/Access_*.php') as $filePath) {
|
||||
require_once $filePath;
|
||||
}
|
||||
require_once __ACCESS_PLUGIN_ROOT__ . '/Access_Autoloader.php';
|
||||
Access_Autoloader::register();
|
||||
|
||||
Reference in New Issue
Block a user