fix autoloading
This commit is contained in:
parent
ba768d36cc
commit
a116a0fd58
@ -121,12 +121,6 @@ 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";
|
||||||
|
2
sys/db
2
sys/db
@ -1 +1 @@
|
|||||||
Subproject commit 2c67dd03cc917bd0f83cfc53923f4e009edc39c5
|
Subproject commit 93ddd7baeccf9cdf703cf43026495b823cd6aefd
|
Reference in New Issue
Block a user