잘못 건드린것 되돌림.

git-svn-id: http://xe-core.googlecode.com/svn/sandbox@5325 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
misol 2009-01-12 05:50:08 +00:00
parent 6e902b808f
commit 4eb7031166
2 changed files with 2 additions and 2 deletions

View file

@ -55,7 +55,7 @@
**/ **/
function getBodyScript($content) { function getBodyScript($content) {
// 내용 추출 // 내용 추출
preg_match('!<body([^>]*)>(.*)<\/body>!is', $content, $body_buff); preg_match('!<body([^>]*)>(.*?)<\/body>!is', $content, $body_buff);
$body_script = $body_buff[2]; $body_script = $body_buff[2];
// link, style, script등 제거 // link, style, script등 제거

View file

@ -84,7 +84,7 @@
$body_script = $oOpageController->getBodyScript($content); $body_script = $oOpageController->getBodyScript($content);
if(!$body_script) $body_script = $content; if(!$body_script) $body_script = $content;
return $body_script; return $content;
} }
/** /**