mirror of
https://github.com/lkddi/nexusphp.git
synced 2026-04-23 11:27:24 +08:00
backup export path configurable + fix some warning
This commit is contained in:
@@ -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());
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user