summaryrefslogtreecommitdiffstats
path: root/frontends/php/include/db.inc.php
diff options
context:
space:
mode:
authorosmiy <osmiy@97f52cf1-0a1b-0410-bd0e-c28be96e8082>2007-07-02 12:28:07 +0000
committerosmiy <osmiy@97f52cf1-0a1b-0410-bd0e-c28be96e8082>2007-07-02 12:28:07 +0000
commit3ac895b7cbd0773d788999849b4560fa6b6a4f3b (patch)
tree383901748eee5b62341ead2cdbfe268ba83f9bc8 /frontends/php/include/db.inc.php
parent3ac710fdee60d34860eae1c82cd2e625c24d5b8c (diff)
downloadzabbix-3ac895b7cbd0773d788999849b4560fa6b6a4f3b.tar.gz
zabbix-3ac895b7cbd0773d788999849b4560fa6b6a4f3b.tar.xz
zabbix-3ac895b7cbd0773d788999849b4560fa6b6a4f3b.zip
- fixed no graphs for PostgreSQL (Eugene)
git-svn-id: svn://svn.zabbix.com/trunk@4414 97f52cf1-0a1b-0410-bd0e-c28be96e8082
Diffstat (limited to 'frontends/php/include/db.inc.php')
-rw-r--r--frontends/php/include/db.inc.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/frontends/php/include/db.inc.php b/frontends/php/include/db.inc.php
index 16561d65..2185f54e 100644
--- a/frontends/php/include/db.inc.php
+++ b/frontends/php/include/db.inc.php
@@ -64,7 +64,7 @@
( !empty($DB_USER) ? 'user=\''.$DB_USER.'\' ' : '').
( !empty($DB_PASSWORD) ? 'password=\''.$DB_PASSWORD.'\' ' : '').
( !empty($DB_PORT) ? 'port='.$DB_PORT : '');
-SDI($pg_connection_string);
+
$DB=pg_pconnect($pg_connection_string);
if(!$DB)
{