summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2021-05-21 15:39:41 +0300
committerAndrew Dolgov <[email protected]>2021-05-21 15:39:41 +0300
commitdff479af649005c819e16ed8e75278ab50c955b3 (patch)
tree76bba90f73c33267e62998d3a3d75dbfb9b47e75 /include
parentd09a64d6f9f5cb9c575986d32d1f8cfa3f183384 (diff)
feeditem_atom: support xml:base for enclosures and entry content
UrlHelper::rewrite_relative: use base URL path if relative url path is not absolute (experimental)
Diffstat (limited to 'include')
-rw-r--r--include/functions.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/functions.php b/include/functions.php
index e8f41d56a..694b8f398 100644
--- a/include/functions.php
+++ b/include/functions.php
@@ -193,8 +193,8 @@
}
/** function is @deprecated */
- function rewrite_relative_url($url, $rel_url) {
- return UrlHelper::rewrite_relative($url, $rel_url);
+ function rewrite_relative_url($base_url, $rel_url) {
+ return UrlHelper::rewrite_relative($base_url, $rel_url);
}
/** function is @deprecated */