Add Platal::assert() function
authorRaphaël Barrois <raphael.barrois@polytechnique.org>
Mon, 22 Feb 2010 20:47:42 +0000 (21:47 +0100)
committerRaphaël Barrois <raphael.barrois@polytechnique.org>
Mon, 22 Feb 2010 20:47:42 +0000 (21:47 +0100)
commitec60dba7a82f71656896e0ea3acb4b74eafbb15c
tree1dbd6aa94360cd968251eacdc16ba46365b2d38b
parent2a683f7ff213da0d2a2fdd26f88b2025394c91d6
Add Platal::assert() function

Used to put assertion in the code.
If an assertion fails, a message is written to spool/tmp/assert_errors,
   and another one is shown to the user

Signed-off-by: Raphaël Barrois <raphael.barrois@polytechnique.org>
classes/platal.php
modules/core.php
templates/assert_errors.tpl [new file with mode: 0644]