From: x2000habouzit Date: Mon, 22 Nov 2004 11:00:39 +0000 (+0000) Subject: {rel} function adds the good thing before an url to make it absolute. X-Git-Tag: xorg/old~846 X-Git-Url: http://git.polytechnique.org/?a=commitdiff_plain;h=9fe10b3e33bc078ffd858476316da6e9f3061512;p=platal.git {rel} function adds the good thing before an url to make it absolute. only use url modifier if it may be http://sth --- diff --git a/plugins/function.rel.php b/plugins/function.rel.php new file mode 100644 index 0000000..eba6f9f --- /dev/null +++ b/plugins/function.rel.php @@ -0,0 +1,31 @@ +baseurl); + return $url['path']; +} + +?>