summaryrefslogtreecommitdiffstats
path: root/frontends/php
diff options
context:
space:
mode:
authorhugetoad <hugetoad@97f52cf1-0a1b-0410-bd0e-c28be96e8082>2001-03-29 17:47:53 +0000
committerhugetoad <hugetoad@97f52cf1-0a1b-0410-bd0e-c28be96e8082>2001-03-29 17:47:53 +0000
commit36f804cfecab25c55e71e3d2f20ffbc35ee5a5fb (patch)
tree4e4accf5948d801b34af3db8de40d5f449c8eabb /frontends/php
parentd521f48bbb2401badd2520a1d178e8d1845d7871 (diff)
downloadzabbix-36f804cfecab25c55e71e3d2f20ffbc35ee5a5fb.tar.gz
zabbix-36f804cfecab25c55e71e3d2f20ffbc35ee5a5fb.tar.xz
zabbix-36f804cfecab25c55e71e3d2f20ffbc35ee5a5fb.zip
config.inc moved to include/. Added .htaccess file to prevent read access
to config.inc. PHP pages updated with new path to the file. git-svn-id: svn://svn.zabbix.com/trunk@14 97f52cf1-0a1b-0410-bd0e-c28be96e8082
Diffstat (limited to 'frontends/php')
-rw-r--r--frontends/php/actions.html2
-rw-r--r--frontends/php/alarms.html2
-rw-r--r--frontends/php/alerts.html2
-rw-r--r--frontends/php/chart.html2
-rw-r--r--frontends/php/config.html2
-rw-r--r--frontends/php/history.html2
-rw-r--r--frontends/php/hosts.html2
-rw-r--r--frontends/php/include/.htaccess7
-rw-r--r--frontends/php/include/config.inc (renamed from frontends/php/config.inc)0
-rw-r--r--frontends/php/index.html2
-rw-r--r--frontends/php/items.html2
-rw-r--r--frontends/php/latest.html2
-rw-r--r--frontends/php/latestalarms.html2
-rw-r--r--frontends/php/media.html2
-rw-r--r--frontends/php/queue.html2
-rw-r--r--frontends/php/tr_status.html2
-rw-r--r--frontends/php/triggers.html2
-rw-r--r--frontends/php/users.html2
18 files changed, 23 insertions, 16 deletions
diff --git a/frontends/php/actions.html b/frontends/php/actions.html
index 155f8bc7..3440775f 100644
--- a/frontends/php/actions.html
+++ b/frontends/php/actions.html
@@ -1,5 +1,5 @@
<?
- include "config.inc";
+ include "include/config.inc";
$title = "Actions";
show_header($title,0);
?>
diff --git a/frontends/php/alarms.html b/frontends/php/alarms.html
index 5a9020ba..08757bb4 100644
--- a/frontends/php/alarms.html
+++ b/frontends/php/alarms.html
@@ -1,5 +1,5 @@
<?
- include "config.inc";
+ include "include/config.inc";
$title = "Alarms";
show_header($title,0);
?>
diff --git a/frontends/php/alerts.html b/frontends/php/alerts.html
index 85ae9907..c152fc50 100644
--- a/frontends/php/alerts.html
+++ b/frontends/php/alerts.html
@@ -1,5 +1,5 @@
<?
- include "config.inc";
+ include "include/config.inc";
$title = "Alerts";
show_header($title,0);
?>
diff --git a/frontends/php/chart.html b/frontends/php/chart.html
index 03756ae5..e4e20602 100644
--- a/frontends/php/chart.html
+++ b/frontends/php/chart.html
@@ -1,5 +1,5 @@
<?
- include "config.inc";
+ include "include/config.inc";
# PARAMETERS:
diff --git a/frontends/php/config.html b/frontends/php/config.html
index d614fb48..e165adcb 100644
--- a/frontends/php/config.html
+++ b/frontends/php/config.html
@@ -1,5 +1,5 @@
<?
- include "config.inc";
+ include "include/config.inc";
$title = "Configuration of Zabbix";
show_header($title,0);
?>
diff --git a/frontends/php/history.html b/frontends/php/history.html
index 3259bee1..483bc928 100644
--- a/frontends/php/history.html
+++ b/frontends/php/history.html
@@ -1,5 +1,5 @@
<?
- include "config.inc";
+ include "include/config.inc";
if(!isset($itemid))
{
diff --git a/frontends/php/hosts.html b/frontends/php/hosts.html
index 287cdb00..fe82f122 100644
--- a/frontends/php/hosts.html
+++ b/frontends/php/hosts.html
@@ -1,5 +1,5 @@
<?
- include "config.inc";
+ include "include/config.inc";
$title = "Hosts";
show_header($title,0);
?>
diff --git a/frontends/php/include/.htaccess b/frontends/php/include/.htaccess
new file mode 100644
index 00000000..89b8ddb2
--- /dev/null
+++ b/frontends/php/include/.htaccess
@@ -0,0 +1,7 @@
+Order Deny,Allow
+Deny from All
+
+<files config.inc>
+Order Deny,Allow
+Deny from All
+</files>
diff --git a/frontends/php/config.inc b/frontends/php/include/config.inc
index 75c48082..75c48082 100644
--- a/frontends/php/config.inc
+++ b/frontends/php/include/config.inc
diff --git a/frontends/php/index.html b/frontends/php/index.html
index 9ffb1c35..e441e95b 100644
--- a/frontends/php/index.html
+++ b/frontends/php/index.html
@@ -1,5 +1,5 @@
<?
- include "config.inc";
+ include "include/config.inc";
$title="Monitoring";
show_header($title,0);
?>
diff --git a/frontends/php/items.html b/frontends/php/items.html
index e24256af..079f9b50 100644
--- a/frontends/php/items.html
+++ b/frontends/php/items.html
@@ -1,5 +1,5 @@
<?
- include "config.inc";
+ include "include/config.inc";
$title = "Configuration of items";
show_header($title,0);
?>
diff --git a/frontends/php/latest.html b/frontends/php/latest.html
index 54c0f175..0567a22a 100644
--- a/frontends/php/latest.html
+++ b/frontends/php/latest.html
@@ -1,5 +1,5 @@
<?
- include "config.inc";
+ include "include/config.inc";
$title = "Latest values";
show_header($title,0);
?>
diff --git a/frontends/php/latestalarms.html b/frontends/php/latestalarms.html
index 5598e66d..79f06cc1 100644
--- a/frontends/php/latestalarms.html
+++ b/frontends/php/latestalarms.html
@@ -1,5 +1,5 @@
<?
- include "config.inc";
+ include "include/config.inc";
$title = "Latest alarms";
show_header($title,10);
?>
diff --git a/frontends/php/media.html b/frontends/php/media.html
index 96c51ea1..3169a391 100644
--- a/frontends/php/media.html
+++ b/frontends/php/media.html
@@ -1,5 +1,5 @@
<?
- include "config.inc";
+ include "include/config.inc";
$title = "Media";
show_header($title,0);
?>
diff --git a/frontends/php/queue.html b/frontends/php/queue.html
index baa374d8..61c3b8e6 100644
--- a/frontends/php/queue.html
+++ b/frontends/php/queue.html
@@ -1,5 +1,5 @@
<?
- include "config.inc";
+ include "include/config.inc";
$title = "Information about monitoring server";
show_header($title,10);
?>
diff --git a/frontends/php/tr_status.html b/frontends/php/tr_status.html
index 69120809..291c69a6 100644
--- a/frontends/php/tr_status.html
+++ b/frontends/php/tr_status.html
@@ -1,5 +1,5 @@
<?
- include "config.inc";
+ include "include/config.inc";
$title = "Status of triggers";
show_header($title,10);
?>
diff --git a/frontends/php/triggers.html b/frontends/php/triggers.html
index b8d73c0c..cbe10f61 100644
--- a/frontends/php/triggers.html
+++ b/frontends/php/triggers.html
@@ -1,5 +1,5 @@
<?
- include "config.inc";
+ include "include/config.inc";
$title = "Configuration of triggers";
show_header($title,0);
?>
diff --git a/frontends/php/users.html b/frontends/php/users.html
index 5fde27b2..8848d449 100644
--- a/frontends/php/users.html
+++ b/frontends/php/users.html
@@ -1,5 +1,5 @@
<?
- include "config.inc";
+ include "include/config.inc";
$title = "Users";
show_header($title,0);
?>