backup export path configurable + fix some warning

This commit is contained in:
xiaomlove
2025-05-13 02:27:58 +07:00
parent a3ad2cc2c4
commit 18449ff185
14 changed files with 33 additions and 18 deletions
+5
View File
@@ -243,5 +243,10 @@ class Setting extends NexusModel
return self::get("permission.user_token_allowed");
}
public static function getBackupExportPath(): string
{
return self::get("backup.export_path", sys_get_temp_dir());
}
}