mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
fix an issue with web installer looking for the mysqli extension when we only use pdo_mysql (#9958)
This commit is contained in:
@@ -47,8 +47,8 @@ function dbConnect($db_host = null, $db_user = '', $db_pass = '', $db_name = '',
|
||||
return Eloquent::DB();
|
||||
}
|
||||
|
||||
if (!function_exists('mysqli_connect')) {
|
||||
throw new DatabaseConnectException("mysqli extension not loaded!");
|
||||
if (!extension_loaded('pdo_mysql')) {
|
||||
throw new DatabaseConnectException("PHP pdo_mysql extension not loaded!");
|
||||
}
|
||||
|
||||
try {
|
||||
|
Reference in New Issue
Block a user