From 55adc28ac07c6938e2bf30f6ef73dd3459456ad4 Mon Sep 17 00:00:00 2001 From: huangdijia Date: Sat, 24 Jan 2015 09:32:35 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=AD=A3=20=E5=91=BD=E5=90=8D?= =?UTF-8?q?=E7=A9=BA=E9=97=B4=E5=A4=A7=E5=B0=8F=E5=86=99?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- library/think/app.php | 4 ++-- library/think/cache.php | 2 +- library/think/config.php | 2 +- library/think/controller.php | 6 +++--- library/think/cookie.php | 2 +- library/think/create.php | 2 +- library/think/db.php | 2 +- library/think/debug.php | 2 +- library/think/error.php | 2 +- library/think/exception.php | 2 +- library/think/hook.php | 2 +- library/think/input.php | 2 +- library/think/lang.php | 2 +- library/think/loader.php | 4 ++-- library/think/log.php | 2 +- library/think/model.php | 2 +- library/think/parser.php | 2 +- library/think/route.php | 2 +- library/think/session.php | 2 +- library/think/storage.php | 2 +- library/think/template.php | 2 +- library/think/transform.php | 2 +- library/think/url.php | 2 +- library/think/view.php | 4 ++-- 24 files changed, 29 insertions(+), 29 deletions(-) diff --git a/library/think/app.php b/library/think/app.php index b239e874..49a93045 100644 --- a/library/think/app.php +++ b/library/think/app.php @@ -9,8 +9,8 @@ // | Author: liu21st // +---------------------------------------------------------------------- -namespace Think; -use Think\Exception; +namespace think; +use think\Exception; /** * App 应用管理 diff --git a/library/think/cache.php b/library/think/cache.php index b49d8312..2a986c70 100644 --- a/library/think/cache.php +++ b/library/think/cache.php @@ -9,7 +9,7 @@ // | Author: liu21st // +---------------------------------------------------------------------- -namespace Think; +namespace think; class Cache { /** diff --git a/library/think/config.php b/library/think/config.php index d1ce9e90..b8c62d5e 100644 --- a/library/think/config.php +++ b/library/think/config.php @@ -9,7 +9,7 @@ // | Author: liu21st // +---------------------------------------------------------------------- -namespace Think; +namespace think; class Config { static private $_config = []; // 配置参数 diff --git a/library/think/controller.php b/library/think/controller.php index 102b691a..70e8fa75 100644 --- a/library/think/controller.php +++ b/library/think/controller.php @@ -9,9 +9,9 @@ // | Author: liu21st // +---------------------------------------------------------------------- -namespace Think; -use Think\View; -use Think\Transform; +namespace think; +use think\View; +use think\Transform; class Controller { // 视图类实例 diff --git a/library/think/cookie.php b/library/think/cookie.php index 00868771..2555b280 100644 --- a/library/think/cookie.php +++ b/library/think/cookie.php @@ -9,7 +9,7 @@ // | Author: liu21st // +---------------------------------------------------------------------- -namespace Think; +namespace think; class Cookie { diff --git a/library/think/create.php b/library/think/create.php index 72f98d0d..6b377003 100644 --- a/library/think/create.php +++ b/library/think/create.php @@ -9,7 +9,7 @@ // | Author: liu21st // +---------------------------------------------------------------------- -namespace Think; +namespace think; class Create { static public function build($build) { diff --git a/library/think/db.php b/library/think/db.php index 134b6ebd..be973f49 100644 --- a/library/think/db.php +++ b/library/think/db.php @@ -9,7 +9,7 @@ // | Author: liu21st // +---------------------------------------------------------------------- -namespace Think; +namespace think; /** * ThinkPHP 数据库中间层实现类 diff --git a/library/think/debug.php b/library/think/debug.php index 44555d3c..82fe911f 100644 --- a/library/think/debug.php +++ b/library/think/debug.php @@ -9,7 +9,7 @@ // | Author: liu21st // +---------------------------------------------------------------------- -namespace Think; +namespace think; class Debug { diff --git a/library/think/error.php b/library/think/error.php index b7675325..32bca00b 100644 --- a/library/think/error.php +++ b/library/think/error.php @@ -9,7 +9,7 @@ // | Author: liu21st // +---------------------------------------------------------------------- -namespace Think; +namespace think; class Error { /** diff --git a/library/think/exception.php b/library/think/exception.php index 04b02c8d..5d959cf8 100644 --- a/library/think/exception.php +++ b/library/think/exception.php @@ -9,7 +9,7 @@ // | Author: liu21st // +---------------------------------------------------------------------- -namespace Think; +namespace think; class Exception extends \Exception { diff --git a/library/think/hook.php b/library/think/hook.php index 5f7b1817..a1ad0716 100644 --- a/library/think/hook.php +++ b/library/think/hook.php @@ -9,7 +9,7 @@ // | Author: liu21st // +---------------------------------------------------------------------- -namespace Think; +namespace think; class Hook { diff --git a/library/think/input.php b/library/think/input.php index fd14d790..d05796a2 100644 --- a/library/think/input.php +++ b/library/think/input.php @@ -9,7 +9,7 @@ // | Author: liu21st // +---------------------------------------------------------------------- -namespace Think; +namespace think; class Input { // 全局过滤规则 diff --git a/library/think/lang.php b/library/think/lang.php index d4c17fd8..72d5dfe8 100644 --- a/library/think/lang.php +++ b/library/think/lang.php @@ -9,7 +9,7 @@ // | Author: liu21st // +---------------------------------------------------------------------- -namespace Think; +namespace think; class Lang { static private $_lang = []; // 语言参数 diff --git a/library/think/loader.php b/library/think/loader.php index 8f505e3b..048649c8 100644 --- a/library/think/loader.php +++ b/library/think/loader.php @@ -9,8 +9,8 @@ // | Author: liu21st // +---------------------------------------------------------------------- -namespace Think; -use Think\Config; +namespace think; +use think\Config; class Loader { // 类名映射 diff --git a/library/think/log.php b/library/think/log.php index 1b008e38..6835c911 100644 --- a/library/think/log.php +++ b/library/think/log.php @@ -9,7 +9,7 @@ // | Author: liu21st // +---------------------------------------------------------------------- -namespace Think; +namespace think; class Log { // 日志信息 diff --git a/library/think/model.php b/library/think/model.php index 15ea1062..2d950305 100644 --- a/library/think/model.php +++ b/library/think/model.php @@ -9,7 +9,7 @@ // | Author: liu21st // +---------------------------------------------------------------------- -namespace Think; +namespace think; class Model { // 操作状态 diff --git a/library/think/parser.php b/library/think/parser.php index 934d9497..9c7921e5 100644 --- a/library/think/parser.php +++ b/library/think/parser.php @@ -9,7 +9,7 @@ // | Author: liu21st // +---------------------------------------------------------------------- -namespace Think; +namespace think; // 内容解析类 class Parser { diff --git a/library/think/route.php b/library/think/route.php index 100d2c71..55b3b61d 100644 --- a/library/think/route.php +++ b/library/think/route.php @@ -9,7 +9,7 @@ // | Author: liu21st // +---------------------------------------------------------------------- -namespace Think; +namespace think; class Route { // 路由规则 diff --git a/library/think/session.php b/library/think/session.php index 2ab37b94..d54fa823 100644 --- a/library/think/session.php +++ b/library/think/session.php @@ -9,7 +9,7 @@ // | Author: liu21st // +---------------------------------------------------------------------- -namespace Think; +namespace think; class Session { static protected $prefix = ''; diff --git a/library/think/storage.php b/library/think/storage.php index aa62e677..c74ad8db 100644 --- a/library/think/storage.php +++ b/library/think/storage.php @@ -8,7 +8,7 @@ // +---------------------------------------------------------------------- // | Author: liu21st // +---------------------------------------------------------------------- -namespace Think; +namespace think; // 分布式文件存储类 class Storage { diff --git a/library/think/template.php b/library/think/template.php index 7689d363..d44fb679 100644 --- a/library/think/template.php +++ b/library/think/template.php @@ -9,7 +9,7 @@ // | Author: liu21st // +---------------------------------------------------------------------- -namespace Think; +namespace think; /** * ThinkPHP分离出来的模板引擎 diff --git a/library/think/transform.php b/library/think/transform.php index fb234023..662ddd97 100644 --- a/library/think/transform.php +++ b/library/think/transform.php @@ -9,7 +9,7 @@ // | Author: 麦当苗儿 // +---------------------------------------------------------------------- -namespace Think; +namespace think; // 内容解析类 class Transform { diff --git a/library/think/url.php b/library/think/url.php index 2bb463ae..24aead79 100644 --- a/library/think/url.php +++ b/library/think/url.php @@ -9,7 +9,7 @@ // | Author: liu21st // +---------------------------------------------------------------------- -namespace Think; +namespace think; class Url { diff --git a/library/think/view.php b/library/think/view.php index 9b58b9af..6ee914fe 100644 --- a/library/think/view.php +++ b/library/think/view.php @@ -9,8 +9,8 @@ // | Author: liu21st // +---------------------------------------------------------------------- -namespace Think; -use Think\Exception; +namespace think; +use think\Exception; class View { protected $engine = null; // 模板引擎实例