
17 Jun
2011
17 Jun
'11
4:23 a.m.
Hi Dne Fri, 17 Jun 2011 10:13:07 +0200 Tyron Madlener <tyronx@gmail.com> napsal(a):
For the chart export to work you'll need to define the a js variable in your php code like this:
<script type="text/javascript"> pma_token = '<?php echo $_SESSION[' PMA_token ']; ?>'; </script>
...or maybe we could put this into header.inc.php?
I think it should rather go to js/messages.php, though it's name does not suggest it. We anyway use it for almost all data needs to be passed to javascript and do not change during one session. -- Michal Čihař | http://cihar.com | http://blog.cihar.com