From 85b9dd81bb1eac380c07b7491f48e23fb74a0923 Mon Sep 17 00:00:00 2001 From: Andreas Gohr Date: Mon, 23 Nov 2009 19:03:52 +0100 Subject: made $JSINFO keys additional Ignore-this: 915f8388d50eed2e4aff90839c0854e8 keeps keys added earlier (eg. in preload or config) darcs-hash:20091123180352-7ad00-c448925fc4f2adeaa3de2137878a99348e2bfdc1.gz --- doku.php | 6 ++---- 1 file 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 -- cgit v1.2.3