From fe42c9bd831d773511447e163de1d8588927ad2c Mon Sep 17 00:00:00 2001 From: tomas Date: Tue, 26 Apr 2005 20:22:30 +0000 Subject: [PATCH] PHP PosgreSQL extension presence test added. --- livesupport/modules/archiveServer/var/install/install.php | 6 +++--- livesupport/modules/storageServer/var/install/install.php | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/livesupport/modules/archiveServer/var/install/install.php b/livesupport/modules/archiveServer/var/install/install.php index f3e9b1fad..aec39d9f6 100644 --- a/livesupport/modules/archiveServer/var/install/install.php +++ b/livesupport/modules/archiveServer/var/install/install.php @@ -23,7 +23,7 @@ Author : $Author: tomas $ - Version : $Revision: 1.7 $ + Version : $Revision: 1.8 $ Location : $Source: /home/paul/cvs2svn-livesupport/newcvsrepo/livesupport/modules/archiveServer/var/install/install.php,v $ ------------------------------------------------------------------------------*/ @@ -50,8 +50,8 @@ function errCallback($err) exit(1); } -if(!function_exists('domxml_open_file')){ - trigger_error("DOMXML PHP extension required and not found.", E_USER_ERROR); +if(!function_exists('pg_connect')){ + trigger_error("PostgreSQL PHP extension required and not found.", E_USER_ERROR); exit(2); } diff --git a/livesupport/modules/storageServer/var/install/install.php b/livesupport/modules/storageServer/var/install/install.php index 2a8d9daaf..91b68e97f 100644 --- a/livesupport/modules/storageServer/var/install/install.php +++ b/livesupport/modules/storageServer/var/install/install.php @@ -23,7 +23,7 @@ Author : $Author: tomas $ - Version : $Revision: 1.16 $ + Version : $Revision: 1.17 $ Location : $Source: /home/paul/cvs2svn-livesupport/newcvsrepo/livesupport/modules/storageServer/var/install/install.php,v $ ------------------------------------------------------------------------------*/ @@ -52,8 +52,8 @@ function errCallback($err) exit(1); } -if(!function_exists('domxml_open_file')){ - trigger_error("DOMXML PHP extension required and not found.", E_USER_ERROR); +if(!function_exists('pg_connect')){ + trigger_error("PostgreSQL PHP extension required and not found.", E_USER_ERROR); exit(2); }