From 6e9f4cd88574e7163d3623c99eea46d08c31499f Mon Sep 17 00:00:00 2001 From: yggverse Date: Wed, 27 Mar 2024 05:08:41 +0200 Subject: [PATCH] fix snap time regex replacement --- src/webui/explore.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/webui/explore.php b/src/webui/explore.php index 2528441..498b6eb 100644 --- a/src/webui/explore.php +++ b/src/webui/explore.php @@ -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 );