forked from walkor/BrowserQuest-PHP
-
Notifications
You must be signed in to change notification settings - Fork 0
/
start.php
23 lines (20 loc) · 625 Bytes
/
start.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
<?php
/**
* This file is part of workerman.
*
* Licensed under The MIT License
* For full copyright and license information, please see the MIT-LICENSE.txt
* Redistributions of files must retain the above copyright notice.
*
* @author walkor<[email protected]>
* @copyright walkor<[email protected]>
* @link http://www.workerman.net/
* @license http://www.opensource.org/licenses/mit-license.php MIT License
*/
use \Workerman\Worker;
define('GLOBAL_START', true);
// socket服务端文件
require_once __DIR__ . '/start_worker.php';
// web服务
require_once __DIR__ . '/start_web.php';
Worker::runAll();