diff --git a/src/mibew/libs/classes/Mibew/Maintenance/Installer.php b/src/mibew/libs/classes/Mibew/Maintenance/Installer.php index 0a981dfe..8bb8fed1 100644 --- a/src/mibew/libs/classes/Mibew/Maintenance/Installer.php +++ b/src/mibew/libs/classes/Mibew/Maintenance/Installer.php @@ -98,6 +98,9 @@ class Installer */ public function isInstalled() { + if (!extension_loaded('PDO') || !extension_loaded('pdo_mysql')) { + return false; + } return ($this->getDatabaseVersion() !== false); }