改名
This commit is contained in:
@@ -76,10 +76,11 @@ class ServerInotify extends Process
|
|||||||
{
|
{
|
||||||
$path = rtrim($path, '/');
|
$path = rtrim($path, '/');
|
||||||
foreach (glob($path . '/*') as $value) {
|
foreach (glob($path . '/*') as $value) {
|
||||||
$md5 = md5($value);
|
|
||||||
if (is_dir($value)) {
|
if (is_dir($value)) {
|
||||||
$this->loadByDir($value);
|
$this->loadByDir($value);
|
||||||
|
continue;
|
||||||
}
|
}
|
||||||
|
$md5 = md5($value);
|
||||||
if (!isset($this->md5Map[$md5])) {
|
if (!isset($this->md5Map[$md5])) {
|
||||||
$this->debug('not hav ' . $value);
|
$this->debug('not hav ' . $value);
|
||||||
return $this->reload();
|
return $this->reload();
|
||||||
|
|||||||
Reference in New Issue
Block a user