diff --git a/classes/template/TemplateHandler.class.php b/classes/template/TemplateHandler.class.php index 92288dce4..2d20c6df9 100644 --- a/classes/template/TemplateHandler.class.php +++ b/classes/template/TemplateHandler.class.php @@ -226,7 +226,7 @@ * @param[in] $matches match * @return changed result **/ - private function _replacePath($matches) + function _replacePath($matches) { $path = trim($matches[3]); @@ -400,7 +400,10 @@ **/ function _replaceInclude($matches) { - if(!preg_match('/target=\"([^\"]+)\"/is',$matches[0], $m)) throw new Exception('"target" attribute missing in "'.htmlspecialchars($matches[0]).'"'); + if(!preg_match('/target=\"([^\"]+)\"/is',$matches[0], $m)) { + print '"target" attribute missing in "'.htmlspecialchars($matches[0]); + exit(); + } $target = $m[1]; if(substr($target,0,1)=='/') @@ -513,7 +516,7 @@ /** * @brief $문자 의 PHP 변수 변환 **/ - private function _replaceVarInPHP($buff) { + function _replaceVarInPHP($buff) { $head = $tail = ''; while(false !== $pos = strpos($buff, '