mirror of
https://gitee.com/fastadminnet/framework.git
synced 2026-11-02 13:28:20 +08:00
优化自动加载
This commit is contained in:
@@ -11,14 +11,14 @@
|
||||
|
||||
namespace think\controller;
|
||||
|
||||
abstract class Phprpc {
|
||||
abstract class phprpc {
|
||||
/**
|
||||
* PHPRpc控制器架构函数
|
||||
* @access public
|
||||
*/
|
||||
public function __construct() {
|
||||
//导入类库
|
||||
Think\Loader::import('Vendor.phpRPC.phprpc_server');
|
||||
think\loader::import('Vendor.phpRPC.phprpc_server');
|
||||
//实例化phprpc
|
||||
$server = new \PHPRPC_Server();
|
||||
$server->add($this);
|
||||
|
||||
Reference in New Issue
Block a user