Switched from a colon to a hyphen to handle windows filesystems

Signed-off-by: snipe <snipe@snipe.net>
This commit is contained in:
snipe 2023-06-29 20:32:20 +01:00
parent faf2a235fb
commit fb9b3a5453

View file

@ -1136,7 +1136,7 @@ class SettingsController extends Controller
public function postBackups() public function postBackups()
{ {
if (! config('app.lock_passwords')) { if (! config('app.lock_passwords')) {
Artisan::call('snipeit:backup', ['--filename' => 'manual-backup-'.date('Y-m-d-H:i:s')]); Artisan::call('snipeit:backup', ['--filename' => 'manual-backup-'.date('Y-m-d-H-i-s')]);
$output = Artisan::output(); $output = Artisan::output();
// Backup completed // Backup completed