fix getBackupExportPath

This commit is contained in:
xiaomlove
2025-05-17 02:11:34 +07:00
parent 1381390c8c
commit 21bb095683
2 changed files with 5 additions and 5 deletions

View File

@@ -248,9 +248,9 @@ class Setting extends NexusModel
return self::get("permission.user_token_allowed");
}
public static function getBackupExportPath(): string
public static function getBackupExportPath(): string|null
{
return self::get("backup.export_path", sys_get_temp_dir());
return self::get("backup.export_path");
}