mirror of
https://gitee.com/fastadminnet/framework.git
synced 2026-07-01 20:52:48 +08:00
类库别名和调用修正
增加sae日志驱动 改进Hook类的exec方法 行为扩展优先检测标签方法 不存在则调用run方法 NOW_TIME改用REQUEST_TIME_FLOAT 变量命名规范
This commit is contained in:
@@ -60,7 +60,7 @@ class Template {
|
||||
|
||||
// 初始化模板编译存储器
|
||||
$type = $this->config['compile_type']?$this->config['compile_type']:'File';
|
||||
$class = '\Think\Template\Driver\\'.ucwords($type);
|
||||
$class = '\\think\\template\\driver\\'.ucwords($type);
|
||||
$this->storage = new $class();
|
||||
}
|
||||
|
||||
@@ -439,7 +439,7 @@ class Template {
|
||||
protected function parseTagLib($tagLib,&$content,$hide=false) {
|
||||
$begin = $this->config['taglib_begin'];
|
||||
$end = $this->config['taglib_end'];
|
||||
$className = '\\Think\\Template\\Taglib\\'.ucwords($tagLib);
|
||||
$className = '\\think\\template\\taglib\\'.ucwords($tagLib);
|
||||
$tLib = new $className($this);
|
||||
foreach ($tLib->getTags() as $name=>$val){
|
||||
$tags = [$name];
|
||||
|
||||
Reference in New Issue
Block a user