mirror of
https://gitee.com/fastadminnet/framework.git
synced 2026-07-01 12:42:48 +08:00
修正一处错误
This commit is contained in:
@@ -194,8 +194,8 @@ class Loader
|
||||
foreach ($autoload['classmap'] as $val) {
|
||||
if (strpos($val, '/')) {
|
||||
// 扫描目录
|
||||
$files = scandir($package . $val);
|
||||
foreach ($files as $file) {
|
||||
$items = scandir($package . $val);
|
||||
foreach ($items as $file) {
|
||||
if ('php' == pathinfo($file, PATHINFO_EXTENSION)) {
|
||||
$file = realpath($package . $val . DS . $file);
|
||||
$info = self::parsePhpNamespace($file);
|
||||
|
||||
Reference in New Issue
Block a user