page: prepare static output before dynamic code
authorMischa POSLAWSKY <perl@shiar.org>
Wed, 13 Sep 2017 19:51:47 +0000 (21:51 +0200)
committerMischa POSLAWSKY <perl@shiar.org>
Mon, 18 Sep 2017 18:21:28 +0000 (20:21 +0200)
commit7333dc046075c7873b15643ecd73f6e3b32c7a79
treeecea77930de591c3f893c6d942673b2fc0c4d023
parent487771a9db7678090c96997cda323b53706f95a9
page: prepare static output before dynamic code

Give script includes full access to prepared html, greatly simplifying
buffer logic and allowing potential substitutions.  Assumes small pages
since all data flushes are delayed (can be worked around if ever needed).
404.php
500.php
edit.php
page.inc.php
page.php