diff --git a/library/think/controller/Amf.php b/library/think/controller/Amf.php index fe636084..695ce282 100644 --- a/library/think/controller/Amf.php +++ b/library/think/controller/Amf.php @@ -11,7 +11,7 @@ namespace think\controller; -abstract class Amf { +abstract class amf { /** * PHPRpc控制器架构函数 @@ -19,7 +19,7 @@ abstract class Amf { */ public function __construct() { //导入类库 - Think\Loader::import('Vendor.Zend.Amf.Server'); + think\loader::import('Vendor.Zend.Amf.Server'); //实例化AMF $server = new \Zend_Amf_Server(); $server -> setClass($this); diff --git a/library/think/controller/Phprpc.php b/library/think/controller/Phprpc.php index 20ec4de2..c4cbaf9e 100644 --- a/library/think/controller/Phprpc.php +++ b/library/think/controller/Phprpc.php @@ -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); diff --git a/library/think/controller/Rest.php b/library/think/controller/Rest.php index a7d801ad..59ebcfb4 100644 --- a/library/think/controller/Rest.php +++ b/library/think/controller/Rest.php @@ -11,7 +11,7 @@ namespace think\controller; -abstract class Rest { +abstract class rest { protected $_method = ''; // 当前请求类型 protected $_type = ''; // 当前资源类型