#18323071 : remove error-creating geturl

git-svn-id: http://xe-core.googlecode.com/svn/sandbox@6809 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
haneul 2009-09-23 08:54:48 +00:00
parent ac43e9ea92
commit c810e49753

View file

@ -241,7 +241,6 @@
$url = Context::getUrl($num_args, $args_list);
if(!preg_match('/^http/i',$url)){
preg_match('/^(http|https):\/\/([^\/]+)\//',$request_uri,$match);
$url = Context::getUrl($num_args, $args_list);
return substr($match[0],0,-1).$url;
}
return $url;
@ -310,7 +309,6 @@
$url = Context::getUrl($num_args, $args_list, $domain);
if(!preg_match('/^http/i',$url)){
preg_match('/^(http|https):\/\/([^\/]+)\//',$request_uri,$match);
$url = Context::getUrl($num_args, $args_list);
return substr($match[0],0,-1).$url;
}
return $url;