diff options
author | Ermal <eri@pfsense.org> | 2011-03-04 22:00:51 +0000 |
---|---|---|
committer | Ermal <eri@pfsense.org> | 2011-03-04 22:00:51 +0000 |
commit | de4333babb8f5dcbfc8a297cb30170575cd22b92 (patch) | |
tree | fb6f5652175f2c812c5d39ebc033d76bc31fe4f9 /usr/local/www | |
parent | 9fbb35996ff193082cbdad7c42574afd00f3bdf5 (diff) | |
download | pfsense-de4333babb8f5dcbfc8a297cb30170575cd22b92.zip pfsense-de4333babb8f5dcbfc8a297cb30170575cd22b92.tar.gz |
Enforce session establishment.
Diffstat (limited to 'usr/local/www')
-rw-r--r-- | usr/local/www/graph_cpu.php | 2 | ||||
-rw-r--r-- | usr/local/www/stats.php | 3 |
2 files changed, 4 insertions, 1 deletions
diff --git a/usr/local/www/graph_cpu.php b/usr/local/www/graph_cpu.php index 3908153..9c6dbd7 100644 --- a/usr/local/www/graph_cpu.php +++ b/usr/local/www/graph_cpu.php @@ -39,6 +39,8 @@ ##|*MATCH=graph_cpu.php* ##|-PRIV +require_once("guiconfig.inc"); + header("Last-Modified: " . gmdate( "D, j M Y H:i:s" ) . " GMT" ); header("Expires: " . gmdate( "D, j M Y H:i:s", time() ) . " GMT" ); header("Cache-Control: no-store, no-cache, must-revalidate" ); // HTTP/1.1 diff --git a/usr/local/www/stats.php b/usr/local/www/stats.php index 7d9cc28..3ce8096 100644 --- a/usr/local/www/stats.php +++ b/usr/local/www/stats.php @@ -35,7 +35,8 @@ ##|*MATCH=stats.php* ##|-PRIV -require("includes/functions.inc.php"); +require_once("guiconfig.inc"); +require_once("includes/functions.inc.php"); $cpu = cpu_usage(); |