From 566b04f94e5f69bb16a7ec1617e15f9058883128 Mon Sep 17 00:00:00 2001 From: Lorenzo Yario Date: Thu, 16 May 2024 21:26:36 -0700 Subject: [PATCH] add a message for those not using https --- install.php | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/install.php b/install.php index 5fac2eaf..f5b2415c 100644 --- a/install.php +++ b/install.php @@ -867,6 +867,13 @@ if ($step == 0) { 'required' => false, 'message' => 'vichan does not have permission to make changes to inc/secrets.php. To complete the installation, you will be asked to manually copy and paste code into the file instead.' ), + array( + 'category' => 'Misc', + 'name' => 'HTTPS not being used', + 'result' => $_SERVER['HTTPS'] == 'off', + 'required' => false, + 'message' => 'You are not currently using https for vichan, or at least for your backend server. If this intentional, add "$config[\'cookies\'][\'secure_login_only\'] = 0;" (or 1 if using a proxy) on a new line under "Additional configuration" on the next page.' + ), array( 'category' => 'Misc', 'name' => 'Caching available (APCu, Memcached or Redis)',