瀏覽代碼

fix gid to pid

stanley-king 8 年之前
父節點
當前提交
488c0ba9e1
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      core/framework/libraries/log.php

+ 1 - 1
core/framework/libraries/log.php

@@ -40,7 +40,7 @@ class Log
     public static function record($message, $lev = self::ERR)
     {
         $now = @date('Y-m-d H:i:s', time());
-        $pid = posix_getgid();
+        $pid = posix_getpid();
 
         if($lev == self::WAIT_HANDLE) {
             $level = 'WAIT_HANDLE';