mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-31 17:19:59 +09:00
잘못 건드린것 되돌림.
git-svn-id: http://xe-core.googlecode.com/svn/sandbox@5325 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
6e902b808f
commit
4eb7031166
2 changed files with 2 additions and 2 deletions
|
|
@ -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등 제거
|
||||||
|
|
|
||||||
|
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue