diff options
author | Christopher Smith <chris@jalakai.co.uk> | 2014-03-06 19:55:56 +0000 |
---|---|---|
committer | Christopher Smith <chris@jalakai.co.uk> | 2014-03-06 19:55:56 +0000 |
commit | 585bf44e2b756eac2e1cfce7035ef237bc02a788 (patch) | |
tree | a9b431951c39bbac03c125fc6a13d3cca15eba9e /inc/init.php | |
parent | 1418498c406caca058076e3d148e31daee800551 (diff) | |
download | rpg-585bf44e2b756eac2e1cfce7035ef237bc02a788.tar.gz rpg-585bf44e2b756eac2e1cfce7035ef237bc02a788.tar.bz2 |
amend $_SERVER to $INPUT->server
Diffstat (limited to 'inc/init.php')
-rw-r--r-- | inc/init.php | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/inc/init.php b/inc/init.php index bcd96e5e4..4ff239787 100644 --- a/inc/init.php +++ b/inc/init.php @@ -402,6 +402,10 @@ function remove_magic_quotes(&$array) { * Returns the full absolute URL to the directory where * DokuWiki is installed in (includes a trailing slash) * + * !! Can not access $_SERVER values through $INPUT + * !! here as this function is called before $INPUT is + * !! initialized. + * * @author Andreas Gohr <andi@splitbrain.org> */ function getBaseURL($abs=null){ |