modify
This commit is contained in:
@@ -235,13 +235,13 @@ class Loader extends BaseObject
|
|||||||
$path = '/' . trim($path, '/');
|
$path = '/' . trim($path, '/');
|
||||||
foreach ($this->_directory as $key => $_path) {
|
foreach ($this->_directory as $key => $_path) {
|
||||||
$key = '/' . trim($key, '/');
|
$key = '/' . trim($key, '/');
|
||||||
var_export($key);
|
|
||||||
if (!str_starts_with($key, $path)) {
|
if (!str_starts_with($key, $path)) {
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
if (in_array($key, $outPath)) {
|
if (in_array($key, $outPath)) {
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
var_export($_path);
|
||||||
$this->execute($_path);
|
$this->execute($_path);
|
||||||
}
|
}
|
||||||
} catch (Throwable $exception) {
|
} catch (Throwable $exception) {
|
||||||
|
|||||||
Reference in New Issue
Block a user