修改更新逻辑

This commit is contained in:
2023-11-02 17:12:00 +08:00
parent ce990713c0
commit ded73a9143
2 changed files with 16 additions and 16 deletions

View File

@@ -113,7 +113,7 @@ class PathToolsBase
*/
public static function compareFiles($a, $b):bool
{
if (file_exists($a) !== file_exists($b)) {
if (!file_exists($a) || !file_exists($b)) {
return false;
}