Fix fatal error because var_export doesn't handle circular dependency.
authorNicolas Iooss <nicolas.iooss_git@polytechnique.org>
Sat, 2 Nov 2013 19:47:08 +0000 (20:47 +0100)
committerNicolas Iooss <nicolas.iooss_git@polytechnique.org>
Sun, 3 Nov 2013 16:11:41 +0000 (17:11 +0100)
commitd2eb1f7038559c9367f0813f189806669c7e259b
tree49bd1a710fc6109f78c57e47b4000117d4f2ab8f
parentbb7dd3224aee64b0cd44c2e69e5ef92290a8c0a3
Fix fatal error because var_export doesn't handle circular dependency.

In logs there were lines such as:
PHP Fatal error:  Nesting level too deep - recursive dependency? in /home/web/prod/platal/include/security.inc.php on line 108, referer: https://www.polytechnique.org/register

More information can be found at:
- http://stackoverflow.com/questions/12488661/is-it-possible-to-list-out-all-the-global-variables-in-php
- http://php.net/manual/fr/function.var-export.php (in the comments)

Signed-off-by: Nicolas Iooss <nicolas.iooss_git@polytechnique.org>
include/security.inc.php