Commit 96ccd2c6 authored by chenchuanwen's avatar chenchuanwen

bridgeedit

parent 8679559d
...@@ -13,7 +13,7 @@ $http = new swoole_http_server("0.0.0.0", 9501); ...@@ -13,7 +13,7 @@ $http = new swoole_http_server("0.0.0.0", 9501);
* 测试在 $server 外部注册全局自定义属性, 看看会不会被覆盖 * 测试在 $server 外部注册全局自定义属性, 看看会不会被覆盖
*/ */
$http->myWorkerVar = 'global'; //$http->myWorkerVar = 'global';
$http->on('request', function ($request, $response) { $http->on('request', function ($request, $response) {
require_once APPLICATION_PATH . '/scripts/crontab/common.php'; require_once APPLICATION_PATH . '/scripts/crontab/common.php';
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment