Fix minor autoloading issue

This commit is contained in:
Timothy Warren 2012-05-21 17:57:16 -04:00
parent ff0c76fac3
commit ba768d36cc

View File

@ -121,6 +121,12 @@ if ( ! function_exists('do_include'))
*/ */
function osm_autoload($class) function osm_autoload($class)
{ {
// Use the ibase_ functions instead of PDO::Firebird
if (strtolower($class) === 'firebird')
{
return;
}
$class = strtolower($class); $class = strtolower($class);
$widget_path = BASE_DIR . "/widgets/{$class}.php"; $widget_path = BASE_DIR . "/widgets/{$class}.php";
$window_path = BASE_DIR . "/windows/{$class}.php"; $window_path = BASE_DIR . "/windows/{$class}.php";