This commit is contained in:
thinkphp
2015-12-22 17:44:30 +08:00
4 changed files with 36 additions and 36 deletions

View File

@@ -34,7 +34,7 @@ abstract class Hprose
}
//导入类库
think\Loader::import('vendor.Hprose.HproseHttpServer');
\think\Loader::import('vendor.Hprose.HproseHttpServer');
//实例化HproseHttpServer
$server = new \HproseHttpServer();
if ($this->allowMethodList) {

View File

@@ -28,7 +28,7 @@ abstract class Jsonrpc
}
//导入类库
think\Loader::import('vendor.jsonrpc.jsonRPCServer');
\think\Loader::import('vendor.jsonrpc.jsonRPCServer');
// 启动server
\jsonRPCServer::handle($this);
}

View File

@@ -31,7 +31,7 @@ abstract class Rpc
}
//导入类库
think\Loader::import('vendor.phprpc.phprpc_server');
\think\Loader::import('vendor.phprpc.phprpc_server');
//实例化phprpc
$server = new \PHPRPC_Server();
if ($this->allowMethodList) {