Enforce session establishment.

This commit is contained in:
Ermal 2011-03-04 22:00:51 +00:00
parent 9fbb35996f
commit de4333babb
2 changed files with 4 additions and 1 deletions

View File

@ -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

View File

@ -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();