summaryrefslogtreecommitdiff
path: root/doku.php
diff options
context:
space:
mode:
Diffstat (limited to 'doku.php')
-rw-r--r--doku.php7
1 files changed, 7 insertions, 0 deletions
diff --git a/doku.php b/doku.php
index 519e1b13e..891ac4c17 100644
--- a/doku.php
+++ b/doku.php
@@ -50,6 +50,13 @@ $REV = preg_replace('/[^0-9]/','',$REV);
//make infos about the selected page available
$INFO = pageinfo();
+//export minimal infos to JS, plugins can add more
+$JSINFO = array(
+ 'id' => $ID,
+ 'namespace' => (string) $INFO['namespace']
+);
+
+
// handle debugging
if($conf['allowdebug'] && $ACT == 'debug'){
html_debug();