Permalink
Browse files

made $JSINFO keys additional

Ignore-this: 915f8388d50eed2e4aff90839c0854e8

keeps keys added earlier (eg. in preload or config)

darcs-hash:20091123180352-7ad00-c448925fc4f2adeaa3de2137878a99348e2bfdc1.gz
  • Loading branch information...
splitbrain committed Nov 23, 2009
1 parent 72e0dc3 commit 85b9dd81bb1eac380c07b7491f48e23fb74a0923
Showing with 2 additions and 4 deletions.
  1. +2 −4 doku.php
View
@@ -51,10 +51,8 @@
$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

0 comments on commit 85b9dd8

Please sign in to comment.