mirror of
https://gitee.com/ulthon/ulthon_admin.git
synced 2026-07-05 17:42:49 +08:00
修改更新逻辑
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user