mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-24 13:49:56 +09:00
git-svn-id: http://xe-core.googlecode.com/svn/trunk@1492 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
6221f0a444
commit
65ad92a1f8
7 changed files with 24 additions and 10 deletions
|
|
@ -96,6 +96,17 @@
|
|||
|
||||
// 상대 경로 설정
|
||||
$this->path = $this->getRequestUri();
|
||||
|
||||
// rewrite module때문에 javascript에서 location.href 문제 해결을 위해 직접 실제 경로 설정
|
||||
if($this->get_vars) {
|
||||
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());
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue