内核更新升级

This commit is contained in:
2016-06-27 17:49:19 +08:00
parent f9c34a87f1
commit 56fd9ee760
19 changed files with 563 additions and 584 deletions

View File

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