add cosmetic workaround for get_self_url_prefix() to stop the unwashed whining about double slashes in URLs
This commit is contained in:
parent
61a748f87f
commit
be1af6703f
|
@ -3405,8 +3405,9 @@
|
||||||
return $tag;
|
return $tag;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// we need to placate idiots who don't know any better
|
||||||
function get_self_url_prefix() {
|
function get_self_url_prefix() {
|
||||||
return SELF_URL_PATH;
|
return preg_replace("/\/$/", "", SELF_URL_PATH);
|
||||||
}
|
}
|
||||||
|
|
||||||
function opml_publish_url($link){
|
function opml_publish_url($link){
|
||||||
|
|
Loading…
Reference in New Issue