添加自动加载类 Access_Autoloader

This commit is contained in:
kokororin
2017-07-15 13:47:33 +08:00
parent ddcfe30466
commit 0aa76d751e
4 changed files with 33 additions and 6 deletions

View File

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