New hooks for admin page, for head, body, and before_page

+move LOGIN_POST to correct place
This commit is contained in:
slawkens
2023-02-07 16:27:02 +01:00
parent 1166ddfe87
commit 3a3411c117
5 changed files with 20 additions and 6 deletions

View File

@@ -70,7 +70,9 @@ if(!@file_exists($file)) {
}
ob_start();
include($file);
if($hooks->trigger(HOOK_ADMIN_BEFORE_PAGE)) {
require $file;
}
$content .= ob_get_contents();
ob_end_clean();