summaryrefslogtreecommitdiffstats
path: root/src/usr/local/www/bandwidth_by_ip.php
diff options
context:
space:
mode:
authorPiBa-NL <pba_2k3@yahoo.com>2017-05-11 21:53:25 +0200
committerPiBa-NL <pba_2k3@yahoo.com>2017-05-11 21:53:25 +0200
commitc07071cbcadd1c9de9951d9ba497b73752ee52cc (patch)
tree5667e262c46886b4fde8a48960a09a7ceefa96bd /src/usr/local/www/bandwidth_by_ip.php
parent449a980f261993ad9aef3788536e0b02ea4edd6a (diff)
downloadpfsense-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/bandwidth_by_ip.php')
-rw-r--r--src/usr/local/www/bandwidth_by_ip.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/usr/local/www/bandwidth_by_ip.php b/src/usr/local/www/bandwidth_by_ip.php
index 9259924..d403dcc 100644
--- a/src/usr/local/www/bandwidth_by_ip.php
+++ b/src/usr/local/www/bandwidth_by_ip.php
@@ -19,7 +19,7 @@
* limitations under the License.
*/
-require_once('guiconfig.inc');
+require_once('auth_check.inc');
require_once('interfaces.inc');
require_once('pfsense-utils.inc');
require_once('util.inc');
OpenPOWER on IntegriCloud