diff options
Diffstat (limited to 'inc/common.php')
-rw-r--r-- | inc/common.php | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/inc/common.php b/inc/common.php index 88891af74..8b21c0585 100644 --- a/inc/common.php +++ b/inc/common.php @@ -56,6 +56,11 @@ function pageinfo(){ global $USERINFO; global $conf; + // include ID & REV not redundant, as some parts of DokuWiki may temporarily change $ID, e.g. p_wiki_xhtml + // FIXME ... perhaps it would be better to ensure the temporary changes weren't necessary + $info['id'] = $ID; + $info['rev'] = $REV; + if($_SERVER['REMOTE_USER']){ $info['userinfo'] = $USERINFO; $info['perm'] = auth_quickaclcheck($ID); |