Improvement of picture url built

git-svn-id: http://piwigo.org/svn/trunk@2026 68402e56-0260-453c-a942-63ccdbb3a9ee
This commit is contained in:
rub 2007-05-25 22:02:47 +00:00
parent bcb81f3efd
commit 70ad3c68fc
3 changed files with 17 additions and 6 deletions

View file

@ -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);
}
?>