mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-04-28 06:42:14 +09:00
url잘못된 수정으로 글쓰기등의 action이 먹히지 않던 문제 수정
git-svn-id: http://xe-core.googlecode.com/svn/sandbox@5376 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
e8ec53438c
commit
10308767e0
2 changed files with 1 additions and 5 deletions
|
|
@ -1203,10 +1203,6 @@
|
|||
// <img|br> 코드 변환
|
||||
$content = preg_replace('/<(img|br)([^>\/]*)(\/>|>)/i','<$1$2 />', $content);
|
||||
|
||||
// 이미지등의 잘못된 경로를 제거
|
||||
$content = str_replace(Context::getRequestUri().Context::get('mid').'/'.Context::get('act'),Context::getRequestUri(),$content);
|
||||
$content = str_replace(Context::getRequestUri().Context::get('mid'),Context::getRequestUri(),$content);
|
||||
|
||||
return $content;
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -351,4 +351,4 @@
|
|||
header("Pragma: no-cache");
|
||||
}
|
||||
}
|
||||
?>
|
||||
?>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue