改进Template类对标签库的识别

This commit is contained in:
thinkphp
2016-01-12 14:30:49 +08:00
parent f6adfc44f1
commit 0ef4997f48

View File

@@ -538,7 +538,6 @@ class Template
*/ */
public function parseTagLib($tagLib, &$content, $hide = false) public function parseTagLib($tagLib, &$content, $hide = false)
{ {
$tagLib = strtolower($tagLib);
if (strpos($tagLib, '\\')) { if (strpos($tagLib, '\\')) {
// 支持指定标签库的命名空间 // 支持指定标签库的命名空间
$className = $tagLib; $className = $tagLib;