diff options
| author | hugetoad <hugetoad@97f52cf1-0a1b-0410-bd0e-c28be96e8082> | 2005-12-01 09:58:20 +0000 |
|---|---|---|
| committer | hugetoad <hugetoad@97f52cf1-0a1b-0410-bd0e-c28be96e8082> | 2005-12-01 09:58:20 +0000 |
| commit | b00e162fcae28783a0b72e69e462ce7db893dbc5 (patch) | |
| tree | 00d2b4ad295554700ec9a2d071814ac6d45accf9 | |
| parent | c56a9edfab13f474b4757ed207e47619e3b3c68a (diff) | |
| download | zabbix-b00e162fcae28783a0b72e69e462ce7db893dbc5.tar.gz zabbix-b00e162fcae28783a0b72e69e462ce7db893dbc5.tar.xz zabbix-b00e162fcae28783a0b72e69e462ce7db893dbc5.zip | |
Minor cleanup.
git-svn-id: svn://svn.zabbix.com/trunk@2378 97f52cf1-0a1b-0410-bd0e-c28be96e8082
| -rw-r--r-- | frontends/php/chart.php | 2 | ||||
| -rw-r--r-- | frontends/php/chart2.php | 2 | ||||
| -rw-r--r-- | frontends/php/include/classes/.htaccess | 7 | ||||
| -rw-r--r-- | frontends/php/include/classes/graph.inc.php (renamed from frontends/php/include/classes.inc.php) | 0 | ||||
| -rw-r--r-- | frontends/php/include/graphs.inc.php | 2 |
5 files changed, 11 insertions, 2 deletions
diff --git a/frontends/php/chart.php b/frontends/php/chart.php index 5580e957..a2c3826b 100644 --- a/frontends/php/chart.php +++ b/frontends/php/chart.php @@ -20,7 +20,7 @@ ?> <?php include "include/config.inc.php"; - include "include/classes.inc.php"; + include "include/classes/graph.inc.php"; $graph=new Graph(); if(isset($_REQUEST["period"])) diff --git a/frontends/php/chart2.php b/frontends/php/chart2.php index 3946732d..9addd34f 100644 --- a/frontends/php/chart2.php +++ b/frontends/php/chart2.php @@ -20,7 +20,7 @@ ?> <?php include "include/config.inc.php"; - include "include/classes.inc.php"; + include "include/classes/graph.inc.php"; $graph=new Graph(); if(isset($_REQUEST["period"])) diff --git a/frontends/php/include/classes/.htaccess b/frontends/php/include/classes/.htaccess new file mode 100644 index 00000000..53c662c2 --- /dev/null +++ b/frontends/php/include/classes/.htaccess @@ -0,0 +1,7 @@ +Order Deny,Allow +Deny from All + +<files *.php> +Order Deny,Allow +Deny from All +</files> diff --git a/frontends/php/include/classes.inc.php b/frontends/php/include/classes/graph.inc.php index e13404b6..e13404b6 100644 --- a/frontends/php/include/classes.inc.php +++ b/frontends/php/include/classes/graph.inc.php diff --git a/frontends/php/include/graphs.inc.php b/frontends/php/include/graphs.inc.php index e24e483e..d27cb5eb 100644 --- a/frontends/php/include/graphs.inc.php +++ b/frontends/php/include/graphs.inc.php @@ -204,6 +204,8 @@ function navigation_bar_calc() { + $workingperiod = 3600; + if(!isset($_REQUEST["period"])) $_REQUEST["period"]=3600; if(!isset($_REQUEST["from"])) $_REQUEST["from"]=0; |
