Jelajahi Sumber

fix gid to pid

stanley-king 8 tahun lalu
induk
melakukan
488c0ba9e1
1 mengubah file dengan 1 tambahan dan 1 penghapusan
  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';