public static function getStatus()
{
$output = 0;
/* has connection */
try {
if (self::$_config->get('dbType') === self::getDb()->getAttribute(PDO::ATTR_DRIVER_NAME)) {
$output = self::countTablePrefix() > 7 ? 2 : 1;
}
} catch (PDOException $exception) {
$output = 0;
}
return $output;
}