diff options
author | PiBa-NL <pba_2k3@yahoo.com> | 2017-05-11 21:53:25 +0200 |
---|---|---|
committer | PiBa-NL <pba_2k3@yahoo.com> | 2017-05-11 21:53:25 +0200 |
commit | c07071cbcadd1c9de9951d9ba497b73752ee52cc (patch) | |
tree | 5667e262c46886b4fde8a48960a09a7ceefa96bd /src/usr/local/www/getstats.php | |
parent | 449a980f261993ad9aef3788536e0b02ea4edd6a (diff) | |
download | pfsense-c07071cbcadd1c9de9951d9ba497b73752ee52cc.zip pfsense-c07071cbcadd1c9de9951d9ba497b73752ee52cc.tar.gz |
auth_check lowers cpu usage for checking if the user has permission for the page requested when used in place of guiconfig, especially useful for frequent requests like those made by stats and traffic widgets
Diffstat (limited to 'src/usr/local/www/getstats.php')
-rw-r--r-- | src/usr/local/www/getstats.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/usr/local/www/getstats.php b/src/usr/local/www/getstats.php index 9bc913f..940a7dc 100644 --- a/src/usr/local/www/getstats.php +++ b/src/usr/local/www/getstats.php @@ -32,7 +32,7 @@ header("Expires: " . gmdate("D, j M Y H:i:s", time()) . " GMT"); header("Cache-Control: no-cache, no-store, must-revalidate"); // HTTP/1.1 header("Pragma: no-cache"); // HTTP/1.0 -require_once("guiconfig.inc"); +require_once("auth_check.inc"); include_once("includes/functions.inc.php"); echo get_stats(); |