mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-04-02 01:52:10 +09:00
#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:
parent
ac43e9ea92
commit
c810e49753
1 changed files with 0 additions and 2 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue