Update of /cvsroot/php-blog/serendipity/include
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv18494/include
Modified Files:
functions_config.inc.php functions_installer.inc.php
Log Message:
PostgreSQL not detected correctly
Index: functions_config.inc.php
===================================================================
RCS file: /cvsroot/php-blog/serendipity/include/functions_config.inc.php,v
retrieving revision 1.15
retrieving revision 1.16
diff -u -d -r1.15 -r1.16
--- functions_config.inc.php 19 Jan 2005 22:48:53 -0000 1.15
+++ functions_config.inc.php 22 Jan 2005 10:26:45 -0000 1.16
@@ -384,7 +384,7 @@
if (extension_loaded('mysql')) {
$res['mysql'] = 'MySQL';
}
- if (extension_loaded('postgres')) {
+ if (extension_loaded('pgsql')) {
$res['postgres'] = 'PostgreSQL';
}
if (extension_loaded('mysqli')) {
Index: functions_installer.inc.php
===================================================================
RCS file: /cvsroot/php-blog/serendipity/include/functions_installer.inc.php,v
retrieving revision 1.30
retrieving revision 1.31
diff -u -d -r1.30 -r1.31
--- functions_installer.inc.php 21 Jan 2005 20:55:52 -0000 1.30
+++ functions_installer.inc.php 22 Jan 2005 10:26:45 -0000 1.31
@@ -91,7 +91,7 @@
if (extension_loaded('mysqli')) {
$type = 'mysqli';
}
- if (extension_loaded('postgres')) {
+ if (extension_loaded('pgsql')) {
$type = 'postgres';
}
if (extension_loaded('mysql')) {
|