Issue 5407: Workers didn't start anymore (#5409)
This commit is contained in:
parent
b375370c37
commit
ece4d3f4fb
1 changed files with 4 additions and 0 deletions
|
@ -247,6 +247,10 @@ class dba {
|
|||
public static function connected() {
|
||||
$connected = false;
|
||||
|
||||
if (is_null(self::$db)) {
|
||||
return false;
|
||||
}
|
||||
|
||||
switch (self::$driver) {
|
||||
case 'pdo':
|
||||
$r = dba::p("SELECT 1");
|
||||
|
|
Loading…
Reference in a new issue