git-svn-id: http://xe-core.googlecode.com/svn/trunk@1492 201d5d3c-b55e-5fd7-737f-ddc643e51545

This commit is contained in:
zero 2007-05-29 04:43:41 +00:00
parent 6221f0a444
commit 65ad92a1f8
7 changed files with 24 additions and 10 deletions

View file

@ -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());
}
}
/**