diff options
author | Andreas Gohr <andi@splitbrain.org> | 2012-07-28 08:51:25 +0200 |
---|---|---|
committer | Andreas Gohr <andi@splitbrain.org> | 2012-07-28 08:52:56 +0200 |
commit | 25ca5b173a87cd432ce8b4d1ba11ea190c37f866 (patch) | |
tree | 78d0af99d056d55d9de8522cdd60b424fd9b43f5 | |
parent | 0d24b616cdb7336b978e6ecd0c1f845c1804f85f (diff) | |
download | rpg-25ca5b173a87cd432ce8b4d1ba11ea190c37f866.tar.gz rpg-25ca5b173a87cd432ce8b4d1ba11ea190c37f866.tar.bz2 |
removed obsolete parameter from script() FS#2365
-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; } |