url잘못된 수정으로 글쓰기등의 action이 먹히지 않던 문제 수정

git-svn-id: http://xe-core.googlecode.com/svn/sandbox@5376 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
zero 2009-01-16 05:11:41 +00:00
parent e8ec53438c
commit 10308767e0
2 changed files with 1 additions and 5 deletions

View file

@ -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;
}

View file

@ -351,4 +351,4 @@
header("Pragma: no-cache");
}
}
?>
?>