mirror of
https://gitee.com/fastadminnet/framework.git
synced 2026-07-05 22:52:49 +08:00
session类和input类调整
注释调整
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user