From 9f5390e560f6884f2446c20d2d3ef983e77f443a Mon Sep 17 00:00:00 2001 From: Uwe Steinmann Date: Thu, 27 Feb 2025 09:06:19 +0100 Subject: [PATCH] add checkbox for enabling memcached --- op/op.Settings.php | 1 + views/bootstrap/class.Settings.php | 1 + 2 files changed, 2 insertions(+) diff --git a/op/op.Settings.php b/op/op.Settings.php index 704eb8da2..a682ec2b6 100644 --- a/op/op.Settings.php +++ b/op/op.Settings.php @@ -194,6 +194,7 @@ if ($action == "saveSettings") setStrValue("partitionSize"); // TODO: check if valid value, e.g. 1M or 5K setStrValue("maxUploadSize"); // TODO: check if valid value, e.g. 1M or 5K setBoolValue("enableXsendfile"); + setBoolValue("enableMemcached"); // SETTINGS - SYSTEM - AUTHENTICATION setBoolValue("enableGuestLogin"); diff --git a/views/bootstrap/class.Settings.php b/views/bootstrap/class.Settings.php index c3f4f9dab..7eec265b0 100644 --- a/views/bootstrap/class.Settings.php +++ b/views/bootstrap/class.Settings.php @@ -527,6 +527,7 @@ if(($kkk = $this->callHook('getFullSearchEngine')) && is_array($kkk)) showConfigText('settings_partitionSize', 'partitionSize'); ?> showConfigText('settings_maxUploadSize', 'maxUploadSize'); ?> showConfigCheckbox('settings_enableXsendfile', 'enableXsendfile'); ?> +showConfigCheckbox('settings_enableMemcached', 'enableMemcached'); ?>