summaryrefslogtreecommitdiffstats
path: root/frontends/php/include
diff options
context:
space:
mode:
authorhugetoad <hugetoad@97f52cf1-0a1b-0410-bd0e-c28be96e8082>2001-04-19 15:35:34 +0000
committerhugetoad <hugetoad@97f52cf1-0a1b-0410-bd0e-c28be96e8082>2001-04-19 15:35:34 +0000
commita7f23a6bfb81e617a42ef19acb5ee0ac6a46b735 (patch)
treeba38014726d1484b2e8777f683b3144f0cba55b8 /frontends/php/include
parentfa80ed2d5f14e5a8715588fa4c0a931757a432a0 (diff)
Fixed incorrect reference to expressions.
git-svn-id: svn://svn.zabbix.com/trunk@48 97f52cf1-0a1b-0410-bd0e-c28be96e8082
Diffstat (limited to 'frontends/php/include')
-rw-r--r--frontends/php/include/config.inc2
-rw-r--r--frontends/php/include/db.inc6
2 files changed, 4 insertions, 4 deletions
diff --git a/frontends/php/include/config.inc b/frontends/php/include/config.inc
index 4473d043..40647d09 100644
--- a/frontends/php/include/config.inc
+++ b/frontends/php/include/config.inc
@@ -435,7 +435,7 @@
}
else
{
- $exp=$exp."{<A HREF=\"history.html?action=showhistory&itemid=$row1[4]\">".DBget_field($res1,0,0).":".DBget_field($res1,0,1)."</A>.<B>".DBget_field($res1,0,2)."(</B>".DBget_field($res1,0,3)."<B>)</B>}";
+ $exp=$exp."{<A HREF=\"history.html?action=showhistory&itemid=".DBget_field($res1,0,4)."\">".DBget_field($res1,0,0).":".DBget_field($res1,0,1)."</A>.<B>".DBget_field($res1,0,2)."(</B>".DBget_field($res1,0,3)."<B>)</B>}";
}
continue;
}
diff --git a/frontends/php/include/db.inc b/frontends/php/include/db.inc
index b954e648..ac0035f1 100644
--- a/frontends/php/include/db.inc
+++ b/frontends/php/include/db.inc
@@ -1,10 +1,10 @@
<?
- $DB_TYPE ="POSTGRESQL";
-// $DB_TYPE ="MYSQL";
+// $DB_TYPE ="POSTGRESQL";
+ $DB_TYPE ="MYSQL";
$DB_SERVER ="localhost";
$DB_DATABASE ="zabbix";
- $DB_USER ="zabbix";
+ $DB_USER ="root";
// $DB_USER ="root";
$DB_PASSWORD ="";