mirror of
https://github.com/snipe/snipe-it.git
synced 2025-01-14 07:19:32 -08:00
Merge pull request #13230 from snipe/fixes/windows_backup_filename_colon_wtf_issue
Fixed windows backup filename - swapped colon in timestamp to hyphen to handle windows filesystems
This commit is contained in:
commit
e236bf412c
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue