session类和input类调整

注释调整
This commit is contained in:
thinkphp
2015-02-23 20:54:16 +08:00
parent b8344fa91a
commit e96ac8493f
71 changed files with 315 additions and 464 deletions

View File

@@ -1,8 +1,8 @@
<?php
// +----------------------------------------------------------------------
// | TOPThink [ WE CAN DO IT JUST THINK ]
// | ThinkPHP [ WE CAN DO IT JUST THINK ]
// +----------------------------------------------------------------------
// | Copyright (c) 2011 http://topthink.com All rights reserved.
// | Copyright (c) 2006~2015 http://thinkphp.cn All rights reserved.
// +----------------------------------------------------------------------
// | Licensed ( http://www.apache.org/licenses/LICENSE-2.0 )
// +----------------------------------------------------------------------
@@ -20,7 +20,7 @@ class Log {
// 日志初始化
static public function init($config=[]){
$type = isset($config['type'])?$config['type']:'File';
$class = 'Think\\Log\\Driver\\'. ucwords($type);
$class = '\\think\\log\\driver\\'. ucwords($type);
unset($config['type']);
self::$storage = new $class($config);
}