This commit is contained in:
2023-12-19 16:44:38 +08:00
parent 67a83e5712
commit cddf84c76a
+7
View File
@@ -48,9 +48,16 @@ class Scanner extends Component
}
$this->load_directory($value->getRealPath());
} else if ($value->getExtension() == 'php') {
$mic = microtime(true);
$this->load_file($value->getRealPath());
if (microtime(true) - $mic > 0.005) {
$this->files[$value->getRealPath()] = microtime(true) - $mic;
}
}
}
var_dump($this->files);
}