Fix autoloading issue

This commit is contained in:
Timothy Warren 2012-05-21 18:00:18 -04:00
parent 2c67dd03cc
commit 93ddd7baec
1 changed files with 7 additions and 0 deletions

View File

@ -50,6 +50,13 @@ if ( ! function_exists('do_include'))
function query_autoload($class)
{
$class = strtolower($class);
// Load Firebird separately
if ($class === 'firebird')
{
return;
}
$class_path = QBASE_PATH . "classes/{$class}.php";
$driver_path = QDRIVER_PATH . "{$class}";