PHP PosgreSQL extension presence test added.
This commit is contained in:
parent
0961105d65
commit
fe42c9bd83
2 changed files with 6 additions and 6 deletions
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue