git-svn-id: http://xe-core.googlecode.com/svn/trunk@1587 201d5d3c-b55e-5fd7-737f-ddc643e51545

This commit is contained in:
zero 2007-06-11 02:25:14 +00:00
parent a5c11349da
commit 11f5900984
3 changed files with 8 additions and 5 deletions

View file

@ -43,6 +43,9 @@
$oTemplate = &TemplateHandler::getInstance();
$tpl = $oTemplate->compile($template_path, 'comment_form');
$path = str_replace('index.php','',$_SERVER['SCRIPT_NAME']);
$tpl = preg_replace('!(href|src)=("|\'){0,1}\.\/([a-zA-Z0-9\_^\/]+)\/!is', '\\1=\\2'.$path.'$3/', $tpl);
// 결과 설정
$this->add('document_srl', $document_srl);