变更
This commit is contained in:
@@ -52,6 +52,9 @@ class Scanner extends BaseProcess
|
|||||||
{
|
{
|
||||||
try {
|
try {
|
||||||
foreach ($this->dirs as $value) {
|
foreach ($this->dirs as $value) {
|
||||||
|
if ($this->isReloading) {
|
||||||
|
break;
|
||||||
|
}
|
||||||
$value = new DirectoryIterator($value);
|
$value = new DirectoryIterator($value);
|
||||||
if ($value->isDir()) {
|
if ($value->isDir()) {
|
||||||
$this->loadByDir($value, $isReload);
|
$this->loadByDir($value, $isReload);
|
||||||
@@ -154,8 +157,6 @@ class Scanner extends BaseProcess
|
|||||||
$this->isReloading = FALSE;
|
$this->isReloading = FALSE;
|
||||||
|
|
||||||
$this->loadDirs();
|
$this->loadDirs();
|
||||||
|
|
||||||
$this->tick();
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
Reference in New Issue
Block a user