1 Star 0 Fork 1

paopao / web-msg-sender

forked from 大 吉 / web-msg-sender 
Create your Gitee Account
Explore and code with more than 5 million developers,Free private repositories !:)
Sign up
Clone or download
start_web.php 477 Bytes
Copy Edit Web IDE Raw Blame History
walkor authored 2016-04-25 22:05 . update
<?php
use Workerman\Worker;
use Workerman\WebServer;
use Workerman\Lib\Timer;
use PHPSocketIO\SocketIO;
include __DIR__ . '/vendor/autoload.php';
// 启动一个webserver,用于吐html css js,方便展示
// 这个webserver服务不是必须的,可以将这些html css js文件放到你的项目下用nginx或者apache跑
$web = new WebServer('http://0.0.0.0:2123');
$web->addRoot('localhost', __DIR__ . '/web');
if(!defined('GLOBAL_START'))
{
Worker::runAll();
}

Comment ( 0 )

Sign in for post a comment

PHP
1
https://git.oschina.net/fpaopaow/web-msg-sender.git
git@git.oschina.net:fpaopaow/web-msg-sender.git
fpaopaow
web-msg-sender
web-msg-sender
master

Search