diff options
-rw-r--r-- | inc/common.php | 7 |
1 files 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; } |