From 70ad3c68fc9e3a149961a298e33d1a9130df1bcc Mon Sep 17 00:00:00 2001 From: rub Date: Fri, 25 May 2007 22:02:47 +0000 Subject: Improvement of picture url built git-svn-id: http://piwigo.org/svn/trunk@2026 68402e56-0260-453c-a942-63ccdbb3a9ee --- include/functions_url.inc.php | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'include/functions_url.inc.php') 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 -- cgit v1.2.3