mirror of
https://gitee.com/ulthon/ulthon_admin.git
synced 2026-07-01 15:32:48 +08:00
修改对比模式
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user