mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-08 03:01:43 +09:00
r4065 rollback. index.html파일이 있을 경우 생기는 문제에 대해서는 보다 깊은 고민이 필요
git-svn-id: http://xe-core.googlecode.com/svn/sandbox@4066 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
4858c14c17
commit
ea550c627e
2 changed files with 2 additions and 2 deletions
|
|
@ -893,7 +893,7 @@
|
||||||
$content = preg_replace('/<(img|br)([^>\/]*)(\/>|>)/i','<$1$2 />', $content);
|
$content = preg_replace('/<(img|br)([^>\/]*)(\/>|>)/i','<$1$2 />', $content);
|
||||||
|
|
||||||
// 주소/?mid등과 같은 index.php가 명시되지 않은 파일의 target 변경
|
// 주소/?mid등과 같은 index.php가 명시되지 않은 파일의 target 변경
|
||||||
$content = str_replace(Context::getRequestUri().'?',Context::getRequestUri().'index.php?',$content);
|
//$content = str_replace(Context::getRequestUri().'?',Context::getRequestUri().'index.php?',$content);
|
||||||
|
|
||||||
return $content;
|
return $content;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -48,7 +48,7 @@ String.prototype.setQuery = function(key, val) {
|
||||||
} else {
|
} else {
|
||||||
if(val.toString().trim()) uri = uri+"?"+key+"="+val;
|
if(val.toString().trim()) uri = uri+"?"+key+"="+val;
|
||||||
}
|
}
|
||||||
uri = uri.replace(request_uri+'?',request_uri+'index.php?');
|
//uri = uri.replace(request_uri+'?',request_uri+'index.php?');
|
||||||
return uri;
|
return uri;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue