r7192 보완

git-svn-id: http://xe-core.googlecode.com/svn/sandbox@7193 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
ngleader 2010-01-20 07:26:49 +00:00
parent c73139aaf3
commit dccc5570cc

View file

@ -64,7 +64,9 @@
foreach($drComponentList as $i => $drComponent){
unset($obj);
$obj = $this->getDrComponentXmlInfo($drComponent);
$obj->html = $oTemplate->compile(sprintf('%s%s/tpl/',$drComponentPath,$drComponent),$drComponent);
$path = sprintf('%s%s/tpl/',$drComponentPath,$drComponent);
$obj->html = $oTemplate->compile($path,$drComponent);
Context::loadLang($path.'lang/');
$drComponentInfo[$drComponent] = $obj;
}
}