summaryrefslogtreecommitdiff
path: root/doku.php
diff options
context:
space:
mode:
authorAndreas Gohr <andi@splitbrain.org>2009-11-23 19:03:52 +0100
committerAndreas Gohr <andi@splitbrain.org>2009-11-23 19:03:52 +0100
commit85b9dd81bb1eac380c07b7491f48e23fb74a0923 (patch)
tree8b47f2f096f5fa69e784f2bd1752f68edcda62ed /doku.php
parent72e0dc37715be44ccf530757864c745c5cb90606 (diff)
downloadrpg-85b9dd81bb1eac380c07b7491f48e23fb74a0923.tar.gz
rpg-85b9dd81bb1eac380c07b7491f48e23fb74a0923.tar.bz2
made $JSINFO keys additional
Ignore-this: 915f8388d50eed2e4aff90839c0854e8 keeps keys added earlier (eg. in preload or config) darcs-hash:20091123180352-7ad00-c448925fc4f2adeaa3de2137878a99348e2bfdc1.gz
Diffstat (limited to 'doku.php')
-rw-r--r--doku.php6
1 files changed, 2 insertions, 4 deletions
diff --git a/doku.php b/doku.php
index 891ac4c17..3963a5aa0 100644
--- a/doku.php
+++ b/doku.php
@@ -51,10 +51,8 @@ $REV = preg_replace('/[^0-9]/','',$REV);
$INFO = pageinfo();
//export minimal infos to JS, plugins can add more
-$JSINFO = array(
- 'id' => $ID,
- 'namespace' => (string) $INFO['namespace']
-);
+$JSINFO['id'] = $ID;
+$JSINFO['namespace'] = (string) $INFO['namespace'];
// handle debugging