Minor improvements
This commit is contained in:
@@ -243,7 +243,7 @@ namespace Documents\Install {
|
||||
if(is_string($sql)) {
|
||||
$msg = "Error connecting to database: $sql";
|
||||
} else if(!$sql->isConnected()) {
|
||||
if (!$sql->checkRequirements()["success"]) {
|
||||
if (!$sql->checkRequirements()) {
|
||||
$driverName = $sql->getDriverName();
|
||||
$installLink = "https://www.php.net/manual/en/$driverName.setup.php";
|
||||
$link = $this->createExternalLink($installLink);
|
||||
@@ -809,4 +809,4 @@ namespace Documents\Install {
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user