mirror of
https://github.com/slawkens/myaac.git
synced 2025-12-04 08:36:51 +01:00
New hooks for admin page, for head, body, and before_page
+move LOGIN_POST to correct place
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user