From 4cec81c89311643be1e0934e70738c7c0c7dfff2 Mon Sep 17 00:00:00 2001 From: ghost Date: Fri, 1 Dec 2023 21:26:12 +0200 Subject: [PATCH] make extended search mode disabled by default #7 --- example/config.json | 4 ++++ src/webui/explore.php | 10 ++++++---- src/webui/search.php | 14 ++++++++------ 3 files changed, 18 insertions(+), 10 deletions(-) diff --git a/example/config.json b/example/config.json index b92292e..a5ce8ad 100644 --- a/example/config.json +++ b/example/config.json @@ -38,6 +38,10 @@ "regex":"/.*/ui" } } + }, + "extended": + { + "enabled":false } } }, diff --git a/src/webui/explore.php b/src/webui/explore.php index dec8726..8ce5ec1 100644 --- a/src/webui/explore.php +++ b/src/webui/explore.php @@ -302,10 +302,12 @@ foreach ($config->snap->storage->remote->ftp as $i => $ftp)

- + webui->search->extended->enabled) { ?> + +