mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-27 23:29:57 +09:00
git-svn-id: http://xe-core.googlecode.com/svn/trunk@1501 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
1841641f3b
commit
b445bc208b
2 changed files with 14 additions and 9 deletions
|
|
@ -98,14 +98,19 @@
|
||||||
$this->path = $this->getRequestUri();
|
$this->path = $this->getRequestUri();
|
||||||
|
|
||||||
// rewrite module때문에 javascript에서 location.href 문제 해결을 위해 직접 실제 경로 설정
|
// rewrite module때문에 javascript에서 location.href 문제 해결을 위해 직접 실제 경로 설정
|
||||||
if($this->get_vars) {
|
|
||||||
foreach($this->get_vars as $key => $val) {
|
if($this->getResponseMethod()=='GET') {
|
||||||
if(!$val) continue;
|
if($this->get_vars) {
|
||||||
$url .= ($url?'&':'').$key.'='.$val;
|
foreach($this->get_vars as $key => $val) {
|
||||||
|
if(!$val) continue;
|
||||||
|
$url .= ($url?'&':'').$key.'='.$val;
|
||||||
|
}
|
||||||
|
Context::set('current_url',sprintf('%s?%s',$this->path, $url));
|
||||||
|
} else {
|
||||||
|
Context::set('current_url',$this->getUrl());
|
||||||
}
|
}
|
||||||
Context::set('current_url',sprintf('%s?%s',$this->path, $url));
|
|
||||||
} else {
|
} else {
|
||||||
Context::set('current_url',$this->getUrl());
|
Context::set('current_url',$this->getRequestUri());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -69,11 +69,11 @@
|
||||||
|
|
||||||
$this->content_size = strlen($output);
|
$this->content_size = strlen($output);
|
||||||
|
|
||||||
// 디버깅 데이터 출력
|
|
||||||
$this->_debugOutput();
|
|
||||||
|
|
||||||
// 컨텐츠 출력
|
// 컨텐츠 출력
|
||||||
$this->display($output);
|
$this->display($output);
|
||||||
|
|
||||||
|
// 디버깅 데이터 출력
|
||||||
|
$this->_debugOutput();
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue