Add Platal::error404() and Platal::error403() to run corresponding handlers.
authorFlorent Bruneau <florent.bruneau@polytechnique.org>
Sun, 17 Aug 2008 21:25:04 +0000 (23:25 +0200)
committerFlorent Bruneau <florent.bruneau@polytechnique.org>
Sun, 17 Aug 2008 21:25:04 +0000 (23:25 +0200)
commitb0a04fb238a94f6ca3cdc874bbc1093915cd0fe2
tree14a3fdac2b4cba49f0c44f5e14eefb45d4a6d814
parent9879250a1789b2b5819df3a11061ceb7307e3727
Add Platal::error404() and Platal::error403() to run corresponding handlers.

This functions are for internal use only (mostly for the wiki engine).
when developping an handler, you MUST return PL_FORBIDDEN or PL_NOT_FOUND to
generate the corresponding error.

Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
classes/platal.php
classes/plfeed.php
include/wiki.engine.inc.php