diff --git a/extend/base/common/tools/PathToolsBase.php b/extend/base/common/tools/PathToolsBase.php index f5b1eff..9b198c8 100644 --- a/extend/base/common/tools/PathToolsBase.php +++ b/extend/base/common/tools/PathToolsBase.php @@ -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