mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-04-28 06:42:14 +09:00
Template Compile, CSS/JS Optimizer, 결과물 출력시 이미지등의 경로를 정상적으로 출력하도록 수정.
path/../ 의 경우 ..를 이전 Path로 이동하도록 하고 rewrite mod 사용시 주소에 따라서 동일한 리소스가 다른 url로 호출되어 트래픽 낭비가 생기는 문제 수정 git-svn-id: http://xe-core.googlecode.com/svn/sandbox@6105 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
38ea8b89ae
commit
2868b62e2b
4 changed files with 56 additions and 23 deletions
|
|
@ -13,6 +13,8 @@
|
|||
|
||||
class Context {
|
||||
|
||||
var $allow_rewrite = false; ///< @brief rewrite mod 사용에 대한 변수
|
||||
|
||||
var $request_method = 'GET'; ///< @brief GET/POST/XMLRPC 중 어떤 방식으로 요청이 왔는지에 대한 값이 세팅. GET/POST/XML 3가지가 있음
|
||||
var $response_method = ''; ///< @brief HTML/XMLRPC 중 어떤 방식으로 결과를 출력할지 결정. (강제 지정전까지는 request_method를 따름)
|
||||
|
||||
|
|
@ -1335,5 +1337,13 @@
|
|||
function transContent($content) {
|
||||
return $content;
|
||||
}
|
||||
|
||||
/**
|
||||
* @brief rewrite mod 사용에 대한 변수 return
|
||||
**/
|
||||
function isAllowRewrite() {
|
||||
$oContext = &Context::getInstance();
|
||||
return $oContext->allow_rewrite;
|
||||
}
|
||||
}
|
||||
?>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue