Fixed installer with DoliDB abstract class

This commit is contained in:
Raphaël Doursenaud 2013-09-11 15:48:25 +02:00
parent 4b2ee84ede
commit cbb763ab3f

View File

@ -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;