1
0
mirror of https://github.com/vichan-devel/vichan.git synced 2024-11-13 18:40:49 +01:00

add a message for those not using https

This commit is contained in:
Lorenzo Yario 2024-05-16 21:26:36 -07:00 committed by GitHub
parent 7899476323
commit 566b04f94e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -867,6 +867,13 @@ if ($step == 0) {
'required' => false,
'message' => 'vichan does not have permission to make changes to <code>inc/secrets.php</code>. 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)',