This commit is contained in:
as2252258@163.com
2021-07-26 12:50:35 +08:00
parent 95c9e878a5
commit 6e64f102b9
+2 -3
View File
@@ -299,13 +299,12 @@ class ServerInotify implements CustomProcess
if ($f == '.' || $f == '..') {
continue;
}
if (!is_dir($f) && !str_ends_with($f, '.php')) {
continue;
}
$path = $dir . '/' . $f;
//递归目录
if (is_dir($path)) {
$this->watch($path);
} else if (!str_ends_with($f, '.php')) {
continue;
}
//检测文件类型