aboutsummaryrefslogtreecommitdiffstats
path: root/include/functions_url.inc.php
diff options
context:
space:
mode:
authorrub <rub@piwigo.org>2007-05-25 22:02:47 +0000
committerrub <rub@piwigo.org>2007-05-25 22:02:47 +0000
commit70ad3c68fc9e3a149961a298e33d1a9130df1bcc (patch)
tree6da5b7f8d3fd18a9f4c0f6870d51f67c23685827 /include/functions_url.inc.php
parentbcb81f3efd51218ffccd5f2e802f3b7af0b33e0b (diff)
Improvement of picture url built
git-svn-id: http://piwigo.org/svn/trunk@2026 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to '')
-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