Update of /cvsroot/openfirst/base/config
In directory sc8-pr-cvs1:/tmp/cvs-serv570
Modified Files:
dbase.php
Log Message:
Make wrapper function not call itself for the functionality that it should use MySQL for (sheesh, that was a bad bug to catch)
Index: dbase.php
===================================================================
RCS file: /cvsroot/openfirst/base/config/dbase.php,v
retrieving revision 1.5
retrieving revision 1.6
diff -C2 -d -r1.5 -r1.6
*** dbase.php 24 Aug 2003 03:06:50 -0000 1.5
--- dbase.php 24 Aug 2003 03:49:10 -0000 1.6
***************
*** 169,173 ****
die("MySQL support is not available in your version of PHP. To use the openFIRST Web Portal Software, please either enable MySQL support, or choose another database type.");
}
! return(ofirst_dbnum_rows($resource));
} elseif($dbasetype == "mssql") {
if(function_exists("mssql_num_rows") == false) {
--- 169,173 ----
die("MySQL support is not available in your version of PHP. To use the openFIRST Web Portal Software, please either enable MySQL support, or choose another database type.");
}
! return(mysql_num_rows($resource));
} elseif($dbasetype == "mssql") {
if(function_exists("mssql_num_rows") == false) {
|