From 25ca5b173a87cd432ce8b4d1ba11ea190c37f866 Mon Sep 17 00:00:00 2001 From: Andreas Gohr <andi@splitbrain.org> Date: Sat, 28 Jul 2012 08:51:25 +0200 Subject: [PATCH] removed obsolete parameter from script() FS#2365 --- inc/common.php | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/inc/common.php b/inc/common.php index 02ed2432b..33da2523a 100644 --- a/inc/common.php +++ b/inc/common.php @@ -495,12 +495,13 @@ function ml($id = '', $more = '', $direct = true, $sep = '&', $abs = false) } /** - * Just builds a link to a script + * Returns the URL to the DokuWiki base script + * + * Consider using wl() instead, unless you absoutely need the doku.php endpoint * - * @todo maybe obsolete * @author Andreas Gohr <andi@splitbrain.org> */ -function script($script = 'doku.php') { +function script() { return DOKU_BASE.DOKU_SCRIPT; } -- GitLab