From 9fe10b3e33bc078ffd858476316da6e9f3061512 Mon Sep 17 00:00:00 2001 From: x2000habouzit Date: Mon, 22 Nov 2004 11:00:39 +0000 Subject: [PATCH] {rel} function adds the good thing before an url to make it absolute. only use url modifier if it may be http://sth --- plugins/function.rel.php | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 plugins/function.rel.php 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']; +} + +?> -- 2.1.4