4 Star 10 Fork 36

剑走偏锋 / online_chat在线聊天和聊天室

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
server.php 397 Bytes
一键复制 编辑 Web IDE 原始数据 按行查看 历史
opcowiit 提交于 2020-05-23 23:33 . 初始化
<?php
ini_set('display_errors','on');
include __DIR__ . '/service/lib/Daemon.php';
if( is_dir(__DIR__ . '/../../dzgz') ){
define('APP_ROOT_DIR',realpath(__DIR__ . '/../../../'));
}else{
define('APP_ROOT_DIR',__DIR__ );
}
$Daemon = new onlineChat\lib\Daemon([
'scriptFile'=>__DIR__ . '/service/server/server.php',
'pidFile'=>APP_ROOT_DIR. '/runtime/server.pid'
]);
$Daemon->start();
PHP
1
https://gitee.com/jqhph/online_chat.git
git@gitee.com:jqhph/online_chat.git
jqhph
online_chat
online_chat在线聊天和聊天室
master

搜索帮助

14c37bed 8189591 565d56ea 8189591