From f7d3272780c406dafe63b005bf8b857f3f72cb85 Mon Sep 17 00:00:00 2001 From: Mischa POSLAWSKY Date: Tue, 11 Jul 2017 17:25:57 +0200 Subject: [PATCH] page: authorise user logins at page start Move from foot to head to allow usage in all pages. --- foot.inc.php | 2 +- head.inc.php | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) 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'; }); -- 2.30.0