修改对比模式

This commit is contained in:
2023-09-26 10:58:15 +08:00
parent b31b49a3b9
commit ee28d35a1e

View File

@@ -107,6 +107,10 @@ class PathToolsBase
public static function compareFiles($a, $b, $return_diff = false):bool|string
{
if(file_exists($a) !== file_exists($b)) {
return false;
}
$result = true;
// Check if filesize is different