mirror of
https://github.com/Mibew/mibew.git
synced 2025-01-31 05:20:30 +03:00
Fix installer crash in absence of PDO and/or pdo_mysql extensions
This commit is contained in:
parent
d7365d719f
commit
f1200c4999
@ -98,6 +98,9 @@ class Installer
|
|||||||
*/
|
*/
|
||||||
public function isInstalled()
|
public function isInstalled()
|
||||||
{
|
{
|
||||||
|
if (!extension_loaded('PDO') || !extension_loaded('pdo_mysql')) {
|
||||||
|
return false;
|
||||||
|
}
|
||||||
return ($this->getDatabaseVersion() !== false);
|
return ($this->getDatabaseVersion() !== false);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user