变更
This commit is contained in:
+1
-1
@@ -76,7 +76,7 @@ class Scanner extends Component
|
|||||||
if ($value->isDir()) {
|
if ($value->isDir()) {
|
||||||
$this->load_dir($value->getRealPath());
|
$this->load_dir($value->getRealPath());
|
||||||
} else if ($value->getExtension() == 'php') {
|
} else if ($value->getExtension() == 'php') {
|
||||||
$this->load_file($value);
|
$this->load_file($value->getRealPath());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user