X-Git-Url: http://git.dj3c1t.com/?p=mtweb;a=blobdiff_plain;f=mw%2Fapp%2Fdata%2Fmodules%2Fshare%2Fmw_data_sgbds.php;fp=mw%2Fapp%2Fdata%2Fmodules%2Fshare%2Fmw_data_sgbds.php;h=c40af56ed60d296bb2349966a32ea4bd5bcaa03a;hp=c93d814a63f434466b589a59bf8810f045253dfc;hb=8da84cf3aa4d10d91f19b6df06ce4c5e9fcb79da;hpb=5abc9d5fca28ef86dee6148bb96780d1a7b670f3 diff --git a/mw/app/data/modules/share/mw_data_sgbds.php b/mw/app/data/modules/share/mw_data_sgbds.php index c93d814..c40af56 100644 --- a/mw/app/data/modules/share/mw_data_sgbds.php +++ b/mw/app/data/modules/share/mw_data_sgbds.php @@ -16,10 +16,10 @@ require_once $impls_dir."/".$impl_file; if(class_exists($class_name = substr($impl_file, 0, -4))){ if( - method_exists($class_name, "sgbd_name") + method_exists($class_name, "name") && method_exists($class_name, "extention_ok") ){ - $impl = new $class_name(); + $impl = new $class_name($env); if($impl->extention_ok($env)) $sgbds[$class_name] = $impl; } }