page: read file during article object initialisation
authorMischa POSLAWSKY <perl@shiar.org>
Thu, 27 Jun 2019 21:14:45 +0000 (23:14 +0200)
committerMischa POSLAWSKY <perl@shiar.org>
Fri, 12 Jul 2019 02:18:16 +0000 (04:18 +0200)
commit41811556ca2ca3ca29191bee012c35e5f40a3995
tree04b6d901af6d20faa330b8409598b25977bc9b41
parent76e9012a55abbbe190c2c97d25a17ec87426e687
page: read file during article object initialisation

Derive parts (title, body) from full contents instead of reading piecemeal.
Assume most pages are small enough so added overhead should be minimal,
adding support for titles after the first line.
article.inc.php
login/index.php
nieuws/index.php
page.php