diff options
author | Stephen Beaver <sbeaver@netgate.com> | 2015-10-07 08:18:39 -0400 |
---|---|---|
committer | Stephen Beaver <sbeaver@netgate.com> | 2015-10-07 08:18:39 -0400 |
commit | ea1bbc43042235f4d763421702408072499e8d87 (patch) | |
tree | 5d1c1adbea1f8c808b2a6b5e57607e74786ca48f | |
parent | 06972ee55b6fd3da0a54de9b41424ab3184567be (diff) | |
download | pfsense-ea1bbc43042235f4d763421702408072499e8d87.zip pfsense-ea1bbc43042235f4d763421702408072499e8d87.tar.gz |
Fixed #5276
-rwxr-xr-x | src/usr/local/www/halt.php | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/src/usr/local/www/halt.php b/src/usr/local/www/halt.php index 6da61b8..ca134c5 100755 --- a/src/usr/local/www/halt.php +++ b/src/usr/local/www/halt.php @@ -89,10 +89,14 @@ if ($_SERVER['REQUEST_METHOD'] == 'POST') { </div> <?php - if (DEBUG) + if (DEBUG) { print("Not actually halting (DEBUG is set true)<br>"); - else + } + else { + print('<pre>'); system_halt(); + print('</pre>'); + } } else { ?> |