mirror of
https://gitee.com/fastadminnet/framework.git
synced 2026-07-07 15:12:48 +08:00
优化Loader类
This commit is contained in:
@@ -150,7 +150,7 @@ class Loader
|
|||||||
}
|
}
|
||||||
|
|
||||||
// 添加Ps0空间
|
// 添加Ps0空间
|
||||||
private function addPsr0($prefix, $paths, $prepend = false)
|
private static function addPsr0($prefix, $paths, $prepend = false)
|
||||||
{
|
{
|
||||||
if (!$prefix) {
|
if (!$prefix) {
|
||||||
if ($prepend) {
|
if ($prepend) {
|
||||||
|
|||||||
Reference in New Issue
Block a user