mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-05-10 04:24:14 +09:00
git-svn-id: http://xe-core.googlecode.com/svn/trunk@1304 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
092109c147
commit
d50cef81d4
4 changed files with 23 additions and 7 deletions
10
.htaccess
10
.htaccess
|
|
@ -1,6 +1,6 @@
|
||||||
RewriteEngine On
|
RewriteEngine On
|
||||||
RewriteRule ^rss/([[:alnum:]]+)$ ./?mid=$1&act=dispRss [L]
|
RewriteRule ^rss/([[:alnum:]]+)$ ./index.php?mid=$1&act=dispRss [L]
|
||||||
RewriteRule ^trackback/([[:digit:]]+)$ ./?module=trackback&act=procTrackbackReceive&document_srl=$1 [L]
|
RewriteRule ^trackback/([[:digit:]]+)$ ./index.php?module=trackback&act=procTrackbackReceive&document_srl=$1 [L]
|
||||||
RewriteRule ^admin ./?module=admin [L]
|
RewriteRule ^admin$ ./index.php?module=admin [L]
|
||||||
RewriteRule ^([[:digit:]]+)$ ./?document_srl=$1 [L]
|
RewriteRule ^([[:digit:]]+)$ ./index.php?document_srl=$1 [L]
|
||||||
RewriteRule ^([[:alnum:]]+)$ ./?mid=$1 [L]
|
RewriteRule ^([a-zA-Z0-9_]+)$ ./index.php?mid=$1 [L]
|
||||||
|
|
|
||||||
|
|
@ -26,6 +26,8 @@
|
||||||
var $html_header = NULL; ///< @brief display시에 사용하게 되는 <head>..</head>내의 스크립트. 거의 사용할 일은 없음
|
var $html_header = NULL; ///< @brief display시에 사용하게 되는 <head>..</head>내의 스크립트. 거의 사용할 일은 없음
|
||||||
var $html_footer = NULL; ///< @brief display시에 사용하게 되는 </body> 바로 앞에 추가될 코드
|
var $html_footer = NULL; ///< @brief display시에 사용하게 되는 </body> 바로 앞에 추가될 코드
|
||||||
|
|
||||||
|
var $rewrite = false;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @brief 언어 정보
|
* @brief 언어 정보
|
||||||
*
|
*
|
||||||
|
|
@ -350,6 +352,20 @@
|
||||||
function _setRequestArgument() {
|
function _setRequestArgument() {
|
||||||
if($this->_getRequestMethod() == 'XMLRPC') return;
|
if($this->_getRequestMethod() == 'XMLRPC') return;
|
||||||
if(!count($_REQUEST)) return;
|
if(!count($_REQUEST)) return;
|
||||||
|
|
||||||
|
if($_SERVER['REDIRECT_QUERY_STRING']) {
|
||||||
|
$this->rewrite = true;
|
||||||
|
$tmp_str = substr($_SERVER['REQUEST_URI'], strpos($_SERVER['REQUEST_URI'],'?')+1);
|
||||||
|
if($tmp_str) {
|
||||||
|
$tmp_arr = explode('&',$tmp_str);
|
||||||
|
$tmp_cnt = count($tmp_arr);
|
||||||
|
for($i=0;$i<$tmp_cnt;$i++) {
|
||||||
|
list($key, $val) = explode('=', $tmp_arr[$i]);
|
||||||
|
if($key && $val) $this->_set($key, $val);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
foreach($_REQUEST as $key => $val) {
|
foreach($_REQUEST as $key => $val) {
|
||||||
if(is_array($val)) {
|
if(is_array($val)) {
|
||||||
for($i=0;$i<count($val);$i++) {
|
for($i=0;$i<count($val);$i++) {
|
||||||
|
|
|
||||||
|
|
@ -44,7 +44,7 @@ String.prototype.setQuery = function(key, val) {
|
||||||
}
|
}
|
||||||
return uri+"?"+q_list.join("&");
|
return uri+"?"+q_list.join("&");
|
||||||
} else {
|
} else {
|
||||||
if(val.trim()) return uri+"?"+key+"="+val;
|
if(val.toString().trim()) return uri+"?"+key+"="+val;
|
||||||
else return uri;
|
else return uri;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -24,7 +24,7 @@
|
||||||
* 2 : 1 + DB 쿼리
|
* 2 : 1 + DB 쿼리
|
||||||
* 3 : 모든 로그
|
* 3 : 모든 로그
|
||||||
**/
|
**/
|
||||||
define('__DEBUG__', 3);
|
define('__DEBUG__', 0);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @brief 간단하게 사용하기 위한 함수 정의한 파일 require
|
* @brief 간단하게 사용하기 위한 함수 정의한 파일 require
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue