aboutsummaryrefslogtreecommitdiffstats
path: root/include/functions_url.inc.php
diff options
context:
space:
mode:
Diffstat (limited to 'include/functions_url.inc.php')
-rw-r--r--include/functions_url.inc.php11
1 files changed, 11 insertions, 0 deletions
diff --git a/include/functions_url.inc.php b/include/functions_url.inc.php
index 1d2b59e47..3c0138136 100644
--- a/include/functions_url.inc.php
+++ b/include/functions_url.inc.php
@@ -701,4 +701,15 @@ function unset_make_full_url()
}
}
+/**
+ * Embellish the url argument
+ *
+ * @param $url
+ * @return $url embellished
+ */
+function embellish_url($url)
+{
+ return str_replace('/./', '/', $url);
+}
+
?> \ No newline at end of file