改名
This commit is contained in:
@@ -140,6 +140,8 @@ class Loader extends BaseObject
|
|||||||
$iterator = new DirectoryIterator($path->getRealPath());
|
$iterator = new DirectoryIterator($path->getRealPath());
|
||||||
$this->_scanDir($iterator, $namespace);
|
$this->_scanDir($iterator, $namespace);
|
||||||
|
|
||||||
|
var_dump(__LINE__ . '->' . rtrim($path->getRealPath(), '/'));
|
||||||
|
|
||||||
$this->_directory[rtrim($path->getRealPath(), '/')] = [];
|
$this->_directory[rtrim($path->getRealPath(), '/')] = [];
|
||||||
} else {
|
} else {
|
||||||
$this->readFile($path, $namespace);
|
$this->readFile($path, $namespace);
|
||||||
@@ -149,6 +151,8 @@ class Loader extends BaseObject
|
|||||||
|
|
||||||
$directory = '/' . implode('/', $array);
|
$directory = '/' . implode('/', $array);
|
||||||
|
|
||||||
|
var_dump(__LINE__ . '->' . $directory);
|
||||||
|
|
||||||
$this->_directory[$directory][] = $directory;
|
$this->_directory[$directory][] = $directory;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user