Skip to content
Snippets Groups Projects
Commit 9ef75262 authored by Bob Mottram's avatar Bob Mottram
Browse files

Return to index

parent 78b0e881
No related branches found
No related tags found
No related merge requests found
......@@ -2,7 +2,7 @@
// Receives the list of blocked domains/users
$output_filename = "settings.html";
$output_filename = "index.html";
if (isset($_POST['submitblocking'])) {
$blockinglist = htmlspecialchars($_POST['blockinglist']);
......
......@@ -2,7 +2,7 @@
// Change language
$output_filename = "settings.html";
$output_filename = "index.html";
if (isset($_POST['submitlanguage'])) {
$language = htmlspecialchars($_POST['language']);
......
......@@ -2,7 +2,7 @@
// Shuts down or resets the system
$output_filename = "settings.html";
$output_filename = "index.html";
if (isset($_POST['submitreset'])) {
$reset_file = fopen(".reset.txt", "w") or die("Unable to write to reset file");
......
......@@ -2,7 +2,7 @@
// Enable or disable ssh
$output_filename = "settings.html";
$output_filename = "index.html";
if (isset($_POST['submitssh'])) {
$confirm = htmlspecialchars($_POST['sshconfirm']);
......
......@@ -12,7 +12,7 @@ function endsWith($haystack, $needle)
// Updates values for the system monitor screen
$output_filename = "settings.html";
$output_filename = "index.html";
if (isset($_POST['submitsystemmonitor'])) {
$system_monitor_file = fopen(".system_monitor.txt", "w") or die("Unable to create system monitor file");
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment