mirror of
https://github.com/YGGverse/Yo.git
synced 2026-03-31 17:55:35 +00:00
fix snap time regex replacement
This commit is contained in:
parent
21c6eb18dc
commit
6e9f4cd885
1 changed files with 2 additions and 2 deletions
|
|
@ -116,7 +116,7 @@ if ($config->snap->storage->local->enabled)
|
||||||
|
|
||||||
$time = preg_replace(
|
$time = preg_replace(
|
||||||
'/^([\d]+)\.tar\.gz&/',
|
'/^([\d]+)\.tar\.gz&/',
|
||||||
'',
|
'$1',
|
||||||
$basename
|
$basename
|
||||||
);
|
);
|
||||||
|
|
||||||
|
|
@ -170,7 +170,7 @@ foreach ($config->snap->storage->remote->ftp as $i => $ftp)
|
||||||
|
|
||||||
$time = preg_replace(
|
$time = preg_replace(
|
||||||
'/^([\d]+)\.tar\.gz&/',
|
'/^([\d]+)\.tar\.gz&/',
|
||||||
'',
|
'$1',
|
||||||
$basename
|
$basename
|
||||||
);
|
);
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue