1
Hi,
I'm reading through the XOOPS 'class/database/databasefactory.php' file, and I notice that
it is instantiating a new class instance as follows:
$class = 'Xoops'.ucfirst(XOOPS_DB_TYPE).'DatabaseProxy';
Given that XOOPS_DB_TYPE is entirely lowercase (eg.mysql), then this would translate to:
$class = 'XoopsMysqlDatabaseProxy';
However, this class does not exist. The only class I have
is in mysqldatabase.php, and is called XoopsMySQLDatabaseProxy. The case is wrong.
Still, XOOPS doesn't seem to have any problems, so I guess it works. It appears PHP isn't case sensitive with class names. Still, I think it would be a good idea to fix this so future releases of PHP don't break Xoops.