]> git.p6c8.net - jirafeau_project.git/commitdiff
Require Root to make access denied prettier
authorJack Footner <jackrfootner@gmail.com>
Thu, 9 Mar 2023 05:27:35 +0000 (15:57 +1030)
committerJack Footner <jackrfootner@gmail.com>
Wed, 14 Jun 2023 06:41:37 +0000 (06:41 +0000)
admin.php

index 79918bea89eb695331cdeb860625b6c19c4b15bc..ed9baad25a6ad7c44078143d573c386a0b87da2b 100644 (file)
--- 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);
 }
 ?>

patrick-canterino.de