From 19d4d933571547e8af6889aa970f4eb8c11b58ae Mon Sep 17 00:00:00 2001 From: huangdijia Date: Mon, 4 May 2015 17:31:21 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96=E8=87=AA=E5=8A=A8=E5=8A=A0?= =?UTF-8?q?=E8=BD=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- library/think/controller/Amf.php | 4 ++-- library/think/controller/Phprpc.php | 4 ++-- library/think/controller/Rest.php | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) 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 = ''; // 当前资源类型