summaryrefslogtreecommitdiffstats
path: root/frontends/php/graph.php
diff options
context:
space:
mode:
authorhugetoad <hugetoad@97f52cf1-0a1b-0410-bd0e-c28be96e8082>2002-09-07 09:16:46 +0000
committerhugetoad <hugetoad@97f52cf1-0a1b-0410-bd0e-c28be96e8082>2002-09-07 09:16:46 +0000
commit9db4b0aeb0582ea1afa3e54493268348963cbe0f (patch)
treee43517c29d15694a81179018dcc069aa6ea9b80d /frontends/php/graph.php
parentcf2952549223c779ec2fe14eddd6dc70bcae064c (diff)
- fixed permission check for all *.php (Alexei)
git-svn-id: svn://svn.zabbix.com/trunk@483 97f52cf1-0a1b-0410-bd0e-c28be96e8082
Diffstat (limited to 'frontends/php/graph.php')
-rw-r--r--frontends/php/graph.php9
1 files changed, 9 insertions, 0 deletions
diff --git a/frontends/php/graph.php b/frontends/php/graph.php
index a242192a..0398ec11 100644
--- a/frontends/php/graph.php
+++ b/frontends/php/graph.php
@@ -11,6 +11,15 @@
?>
<?
+ if(!check_right("Graph","R",$HTTP_GET_VARS["graphid"]))
+ {
+ show_table_header("<font color=\"AA0000\">No permissions !</font>");
+ show_footer();
+ exit;
+ }
+?>
+
+<?
if(isset($HTTP_GET_VARS["register"]))
{
if($HTTP_GET_VARS["register"]=="add")