Browse Source

解决守护进程警告问题

master
witersen 3 years ago
parent
commit
f7a9c49681
  1. 11
      02.php/server/svnadmind.php

11
02.php/server/svnadmind.php

@ -95,10 +95,15 @@ class Daemon @@ -95,10 +95,15 @@ class Daemon
//接收客户端发送的数据
$receive = socket_read($client, $this->config_daemon['SOCKET_READ_LENGTH']);
$receive = unserialize($receive);
$type = 'detect';
$content = '';
$type = $receive['type'];
$content = $receive['content'];
if (!empty($receive)) {
$receive = unserialize($receive);
$type = $receive['type'];
$content = $receive['content'];
}
//console模式
if ($this->workMode == 'console') {

Loading…
Cancel
Save