mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-14 00:39:57 +09:00
git-svn-id: http://xe-core.googlecode.com/svn/trunk@1583 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
7e9b3a8e85
commit
b33a1d1893
6 changed files with 10 additions and 5 deletions
|
|
@ -111,6 +111,7 @@
|
|||
} else {
|
||||
Context::set('current_url',$this->getRequestUri());
|
||||
}
|
||||
Context::set('request_uri',Context::getRequestUri());
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
@ -503,7 +504,7 @@
|
|||
if($target=='act.mid' && !ereg('([A-Z]+)',$get_vars['act'])) return sprintf('%s%s/%s',$this->path,$get_vars['mid'],$get_vars['act']);
|
||||
elseif($target=='document_srl.mid') return sprintf('%s%s/%s',$this->path,$get_vars['mid'],$get_vars['document_srl']);
|
||||
elseif($target=='act.document_srl') return sprintf('%s%s/%s',$this->path,$get_vars['document_srl'],$get_vars['act']);
|
||||
elseif($target=='mid.page') return sprintf('%s%s/page/%s',$this->path,$get_vars['mid'],$get_vars['page']);
|
||||
//elseif($target=='mid.page') return sprintf('%s%s/page/%s',$this->path,$get_vars['mid'],$get_vars['page']);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -110,6 +110,9 @@ function move_url(url, open_wnidow) {
|
|||
if(!url) return false;
|
||||
if(typeof(open_wnidow)=='undefined') open_wnidow = false;
|
||||
if(open_wnidow=='N') open_wnidow = false;
|
||||
|
||||
if(/^\./.test(url)) url = request_uri+url;
|
||||
|
||||
if(open_wnidow) {
|
||||
winopen(url);
|
||||
} else {
|
||||
|
|
|
|||
|
|
@ -52,7 +52,7 @@ function xml_response_filter(oXml, callback_func, response_tags, callback_func_a
|
|||
function xml_handler() {
|
||||
this.obj_xmlHttp = null;
|
||||
this.method_name = null;
|
||||
this.xml_path = "./index.php";
|
||||
this.xml_path = request_uri+"index.php";
|
||||
|
||||
this.params = new Array();
|
||||
|
||||
|
|
|
|||
|
|
@ -20,6 +20,7 @@
|
|||
<!--@end--><script type="text/javascript">
|
||||
var zbxe_url = "{$zbxe_url}";
|
||||
var current_url = "{$current_url}";
|
||||
var request_uri = "{$request_uri}";
|
||||
</script>
|
||||
|
||||
{Context::getHtmlHeader()}
|
||||
|
|
|
|||
|
|
@ -15,7 +15,7 @@
|
|||
* 0 : files/_debug_message.php 에 연결하여 출력
|
||||
* 1 : Response Method 가 XML 형식이 아닐 경우 브라우저에 최상단에 주석으로 표시
|
||||
**/
|
||||
define('__DEBUG_OUTPUT__', 0);
|
||||
define('__DEBUG_OUTPUT__', 1);
|
||||
|
||||
/**
|
||||
* @brief 디버깅 메세지 출력
|
||||
|
|
@ -24,7 +24,7 @@
|
|||
* 2 : 1 + DB 쿼리
|
||||
* 3 : 모든 로그
|
||||
**/
|
||||
define('__DEBUG__', 2);
|
||||
define('__DEBUG__', 1);
|
||||
|
||||
/**
|
||||
* @brief 간단하게 사용하기 위한 함수 정의한 파일 require
|
||||
|
|
|
|||
|
|
@ -32,7 +32,7 @@
|
|||
if(!$width) $width = 200;
|
||||
$plugin_info->width = $width;
|
||||
|
||||
$plugin_info->src = sprintf("%s/%s/clock.swf?theme=%s&day=%s", $tpl_path, $colorset, $theme, $day);
|
||||
$plugin_info->src = sprintf("%s%s/%s/clock.swf?theme=%s&day=%s", Context::getRequestUri(), $tpl_path, $colorset, $theme, $day);
|
||||
|
||||
Context::set('plugin_info', $plugin_info);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue