Browse Source

fix snap time regex replacement

main
yggverse 8 months ago
parent
commit
6e9f4cd885
  1. 4
      src/webui/explore.php

4
src/webui/explore.php

@ -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…
Cancel
Save