Fix minor autoloading issue
This commit is contained in:
parent
ff0c76fac3
commit
ba768d36cc
@ -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";
|
||||||
|
Loading…
Reference in New Issue
Block a user