diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2008-11-06 19:09:33 +0000 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2008-11-06 19:09:33 +0000 |
commit | beb54c8fbe2af11ed454fe188d8d43c2808f3cdb (patch) | |
tree | f25421c7ea414ba0ad3bb6a14c3925788b676c6d /usr/local/www/graph.php | |
parent | ece390c088ad22f445e3d64b25beb869246ddc6c (diff) | |
download | pfsense-beb54c8fbe2af11ed454fe188d8d43c2808f3cdb.zip pfsense-beb54c8fbe2af11ed454fe188d8d43c2808f3cdb.tar.gz |
Require user auth
Diffstat (limited to 'usr/local/www/graph.php')
-rwxr-xr-x | usr/local/www/graph.php | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/usr/local/www/graph.php b/usr/local/www/graph.php index 22313bd..3a592f7 100755 --- a/usr/local/www/graph.php +++ b/usr/local/www/graph.php @@ -36,6 +36,11 @@ ##|*MATCH=graph.php* ##|-PRIV +if(!$_SERVER['PHP_AUTH_USER']) { + Header("Location: /"); + exit; +} + 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 |