xiang 6 vuotta sitten
vanhempi
commit
dfd6b4f105

+ 2 - 3
vendor/GatewayWorker_linux/GatewayWorker/Applications/whisper/Mlogic.php

@@ -1,4 +1,5 @@
 <?php
+
 /**
  * Created by PhpStorm.
  * User: Administrator
@@ -66,7 +67,7 @@ class Mlogic
         }
 
         $conf = require(self::$configPath . 'database.php');
-        self::$db = new \Workerman\MySQL\Connection($conf['hostname'], $conf['hostport'], $conf['username'], $conf['password'], $conf['database'], $conf['charset']);
+        self::$db = @new \Workerman\MySQL\Connection($conf['hostname'], $conf['hostport'], $conf['username'], $conf['password'], $conf['database'], $conf['charset']);
 
 
         return self::$db;
@@ -132,6 +133,4 @@ class Mlogic
 
         return 0;
     }
-
-
 }