From: Mischa POSLAWSKY Date: Tue, 11 Jul 2017 15:25:57 +0000 (+0200) Subject: page: authorise user logins at page start X-Git-Tag: v1.3~2 X-Git-Url: http://git.shiar.net/minimedit.git/commitdiff_plain/f7d3272780c406dafe63b005bf8b857f3f72cb85 page: authorise user logins at page start Move from foot to head to allow usage in all pages. --- diff --git a/foot.inc.php b/foot.inc.php index 229cae8..e1ea486 100755 --- a/foot.inc.php +++ b/foot.inc.php @@ -3,7 +3,7 @@ '."\n\n"; +include_once 'auth.inc.php'; + register_shutdown_function(function () { include 'foot.inc.php'; });