check server functionality before status
This commit is contained in:
@@ -976,10 +976,10 @@ $schema://$host {
|
|||||||
|
|
||||||
public function serverStatus(): bool
|
public function serverStatus(): bool
|
||||||
{
|
{
|
||||||
if ($this->status() === false) {
|
if ($this->isFunctional() === false) {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
if ($this->isFunctional() === false) {
|
if ($this->status() === false) {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user