Loader类的自动加载方法 Win环境下面严格区分大小写

This commit is contained in:
thinkphp
2013-04-10 22:19:19 +08:00
parent 29a97c50e3
commit 1a2a58a8ad
4 changed files with 12 additions and 8 deletions

View File

@@ -426,7 +426,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;
foreach ($tLib->getTags() as $name=>$val){
$tags = [$name];