Explorar el Código

屏蔽一个notice

liangl hace 11 años
padre
commit
b2b7df5732
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      workerman/Core/AbstractWorker.php

+ 1 - 1
workerman/Core/AbstractWorker.php

@@ -144,7 +144,7 @@ abstract class AbstractWorker
         {
             return array();
         }
-        return shm_get_var(Master::getShmId(), Master::STATUS_VAR_ID);
+        return @shm_get_var(Master::getShmId(), Master::STATUS_VAR_ID);
     }
     
     /**