改名
This commit is contained in:
@@ -81,10 +81,12 @@ class ServerInotify extends Process
|
|||||||
$this->loadByDir($value);
|
$this->loadByDir($value);
|
||||||
}
|
}
|
||||||
if (!isset($this->md5Map[$md5])) {
|
if (!isset($this->md5Map[$md5])) {
|
||||||
|
$this->debug('not hav ' . $value);
|
||||||
return $this->reload();
|
return $this->reload();
|
||||||
}
|
}
|
||||||
$mTime = filectime($value);
|
$mTime = filectime($value);
|
||||||
if ($this->md5Map[$md5] != $mTime) {
|
if ($this->md5Map[$md5] != $mTime) {
|
||||||
|
$this->debug('not hav ' . $this->md5Map[$md5] . ':' . $mTime);
|
||||||
return $this->reload();
|
return $this->reload();
|
||||||
}
|
}
|
||||||
$this->md5Map[$md5] = $mTime;
|
$this->md5Map[$md5] = $mTime;
|
||||||
|
|||||||
Reference in New Issue
Block a user