fix snap time regex replacement

This commit is contained in:
yggverse 2024-03-27 05:08:41 +02:00
parent 21c6eb18dc
commit 6e9f4cd885

View File

@ -116,7 +116,7 @@ if ($config->snap->storage->local->enabled)
$time = preg_replace(
'/^([\d]+)\.tar\.gz&/',
'',
'$1',
$basename
);
@ -170,7 +170,7 @@ foreach ($config->snap->storage->remote->ftp as $i => $ftp)
$time = preg_replace(
'/^([\d]+)\.tar\.gz&/',
'',
'$1',
$basename
);