mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-06-27 05:11:41 +02:00
Setup wasnt detecting postgresql or mysql on php-3.0.16
This commit is contained in:
parent
06be3c35e2
commit
b38edbd52f
@ -43,13 +43,13 @@
|
|||||||
// this dont work with PHP 3.0.10 and lower !
|
// this dont work with PHP 3.0.10 and lower !
|
||||||
|
|
||||||
$supported_db = array();
|
$supported_db = array();
|
||||||
if(extension_loaded("mysql")) {
|
if (extension_loaded("mysql") || function_exists("mysql_connect")) {
|
||||||
echo "You appear to have MySQL support enabled<br>\n";
|
echo "You appear to have MySQL support enabled<br>\n";
|
||||||
$supported_db[] = "mysql";
|
$supported_db[] = "mysql";
|
||||||
} else {
|
} else {
|
||||||
echo "No MySQL support found. Disabling<br>\n";
|
echo "No MySQL support found. Disabling<br>\n";
|
||||||
}
|
}
|
||||||
if(extension_loaded("pgsql")) {
|
if (extension_loaded("pgsql") || function_exists("pg_connect")) {
|
||||||
echo "You appear to have Postgres-DB support enabled<br>\n";
|
echo "You appear to have Postgres-DB support enabled<br>\n";
|
||||||
$supported_db[] = "pgsql";
|
$supported_db[] = "pgsql";
|
||||||
} else {
|
} else {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user