Workers can now be started exclusively from the daemon and other workers

This commit is contained in:
Michael 2018-06-01 22:09:27 +00:00
parent 69300291f0
commit 28f8beebfc
3 changed files with 125 additions and 63 deletions

View file

@ -26,7 +26,7 @@ class dba {
private static $relation = [];
public static function connect($serveraddr, $user, $pass, $db) {
if (!is_null(self::$db)) {
if (!is_null(self::$db) && self::connected()) {
return true;
}