Fixed installer with DoliDB abstract class
This commit is contained in:
parent
4b2ee84ede
commit
cbb763ab3f
@ -302,6 +302,7 @@ if (! empty($force_install_message))
|
||||
if (is_readable($dir."/".$file) && preg_match('/^(.*)\.class\.php$/i',$file,$reg))
|
||||
{
|
||||
$type=$reg[1];
|
||||
if ($type === 'DoliDB') continue; // Skip abstract class
|
||||
$class='DoliDB'.ucfirst($type);
|
||||
include_once $dir."/".$file;
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user