From: Jack Footner Date: Thu, 9 Mar 2023 05:27:35 +0000 (+1030) Subject: Require Root to make access denied prettier X-Git-Url: https://git.p6c8.net/jirafeau_mojo42.git/commitdiff_plain/2008a343c9d4bfa2c949ec3870875630eea5fb5c?ds=sidebyside Require Root to make access denied prettier --- diff --git a/admin.php b/admin.php index 79918be..ed9baad 100644 --- a/admin.php +++ b/admin.php @@ -303,6 +303,7 @@ if (php_sapi_name() == "cli") { require(JIRAFEAU_ROOT.'lib/template/footer.php'); } else { + require(JIRAFEAU_ROOT . 'lib/template/header.php'); jirafeau_fatal_error(t('ACCESS_KO'), $cfg); } ?>