summaryrefslogtreecommitdiffstats
path: root/usr/local/www/restart_httpd.php
diff options
context:
space:
mode:
authorErmal Luçi <eri@pfsense.org>2009-06-18 19:45:43 +0000
committerErmal Luçi <eri@pfsense.org>2009-06-18 19:45:43 +0000
commit546c9e4a075179bacbbd57c4cdeee47cd4120bcb (patch)
treee4d087f0227f3365bdc7e88f0e7aafbd29327229 /usr/local/www/restart_httpd.php
parent643d92bfea5778057286753200df52e5350ce1f8 (diff)
downloadpfsense-546c9e4a075179bacbbd57c4cdeee47cd4120bcb.zip
pfsense-546c9e4a075179bacbbd57c4cdeee47cd4120bcb.tar.gz
Add priviledge checks to restart_httpd.php page.
Diffstat (limited to 'usr/local/www/restart_httpd.php')
-rwxr-xr-xusr/local/www/restart_httpd.php9
1 files changed, 8 insertions, 1 deletions
diff --git a/usr/local/www/restart_httpd.php b/usr/local/www/restart_httpd.php
index 3aea0a7..2b79139 100755
--- a/usr/local/www/restart_httpd.php
+++ b/usr/local/www/restart_httpd.php
@@ -26,9 +26,16 @@
POSSIBILITY OF SUCH DAMAGE.
*/
+##|+PRIV
+##|*IDENT=page-diagnostics-restart-httpd
+##|*NAME=Diagnostics: Restart HTTPD : System page
+##|*DESCR=Allow access to the 'Diagnostics: Restart HTTPD: System' page.
+##|*MATCH=restart_httpd.php*
+##|-PRIV
+
require_once("guiconfig.inc");
require_once("system.inc");
-$pgtitle = array("Restarting mini_httpd");
+$pgtitle = array("Restarting httpd");
include("head.inc");
?>
OpenPOWER on IntegriCloud