Skip to content

Commit

Permalink
github验证
Browse files Browse the repository at this point in the history
  • Loading branch information
shenzhe committed Feb 20, 2016
1 parent 85328de commit 08dd7e7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ function mylog($msg, $filename='hook_error'){
$http->on('request', function ($request, $response) {

$response->end('ok');
if(false !== strpos($request->server['path_info'], 'reload')) {
if(false !== strpos($request->server['path_info'], 'reload')) { //重启server,(可重载配置)
global $http;
$http->reload();
return;
Expand Down

0 comments on commit 08dd7e7

Please sign in to comment.