1
0
Fork 0
mirror of https://github.com/sbrl/Pepperminty-Wiki.git synced 2024-11-22 04:23:01 +00:00

Tweak peppermint.josn access check message again

This commit is contained in:
Starbeamrainbowlabs 2019-12-22 14:32:46 +00:00
parent 2744761c00
commit f02e486580
Signed by: sbrl
GPG key ID: 1BE5172E637709C2

View file

@ -24,7 +24,7 @@ $settingsFilename = "peppermint.json";
if(file_exists("$settingsFilename.compromised")) { if(file_exists("$settingsFilename.compromised")) {
http_response_code(500); http_response_code(500);
header("content-type: text/plain"); header("content-type: text/plain");
exit("Error: $settingsFilename.compromised exists on disk, so it's likely you need to block access to 'peppermint.json' from the internet. If you've done this already, please delete $settingsFilename.compromised and reload this page.\n\nThis check was done as part of the first run wizard."); exit("Error: $settingsFilename.compromised exists on disk, so it's likely you need to block access to 'peppermint.json' from the internet. If you've done this already, please delete $settingsFilename.compromised and reload this page.\n\nIf you've done this check manually, please set the disable_peppermint_access_check setting to false.\n\nThis check was done as part of the first run wizard.");
} }
$guiConfig = json_decode($guiConfig); $guiConfig = json_decode($guiConfig);