From 9fbb35996ff193082cbdad7c42574afd00f3bdf5 Mon Sep 17 00:00:00 2001 From: Ermal Date: Fri, 4 Mar 2011 21:53:07 +0000 Subject: Add missing pages to the authentication system. --- usr/local/www/edit.php | 7 +++++++ usr/local/www/stats.php | 9 ++++++++- 2 files changed, 15 insertions(+), 1 deletion(-) (limited to 'usr') diff --git a/usr/local/www/edit.php b/usr/local/www/edit.php index 3b94d69..942904a 100644 --- a/usr/local/www/edit.php +++ b/usr/local/www/edit.php @@ -29,6 +29,13 @@ pfSense_MODULE: shell */ +##|+PRIV +##|*IDENT=page-diagnostics-edit +##|*NAME=Diagnostics: Edit FIle +##|*DESCR=Allow access to the 'Diagnostics: Edit File' page. +##|*MATCH=edit.php* +##|-PRIV + $pgtitle = array(gettext("Diagnostics"), gettext("Edit file")); require("guiconfig.inc"); diff --git a/usr/local/www/stats.php b/usr/local/www/stats.php index 54e5ef6..7d9cc28 100644 --- a/usr/local/www/stats.php +++ b/usr/local/www/stats.php @@ -28,6 +28,13 @@ POSSIBILITY OF SUCH DAMAGE. */ +##|+PRIV +##|*IDENT=page-diagnostics-cpuutilization +##|*NAME=Diagnostics: CPU Utilization page +##|*DESCR=Allow access to the 'Diagnostics: CPU Utilization' page. +##|*MATCH=stats.php* +##|-PRIV + require("includes/functions.inc.php"); $cpu = cpu_usage(); @@ -35,4 +42,4 @@ $cpu = cpu_usage(); echo $cpu; exit; -?> \ No newline at end of file +?> -- cgit v1.1