diff --git a/admin/email_queue.php b/admin/email_queue.php index c68d5a9f66..5fbfffc2a2 100644 --- a/admin/email_queue.php +++ b/admin/email_queue.php @@ -26,6 +26,9 @@ require_once( dirname( dirname( __FILE__ ) ) . '/core.php' ); +# Load schema version needed to render admin menu bar +require_once( 'schema.php' ); + access_ensure_global_level( config_get_global( 'admin_site_threshold' ) ); layout_page_header(); diff --git a/admin/system_utils.php b/admin/system_utils.php index 84d9f8b78f..7653e371a4 100644 --- a/admin/system_utils.php +++ b/admin/system_utils.php @@ -26,6 +26,9 @@ require_once( dirname( dirname( __FILE__ ) ) . '/core.php' ); +# Load schema version needed to render admin menu bar +require_once( 'schema.php' ); + access_ensure_global_level( config_get_global( 'admin_site_threshold' ) ); layout_page_header( 'MantisBT Administration - System Utilities' ); diff --git a/admin/test_langs.php b/admin/test_langs.php index 7637553a2a..bd26def695 100644 --- a/admin/test_langs.php +++ b/admin/test_langs.php @@ -29,6 +29,9 @@ require_once( $t_mantis_dir . 'core.php' ); +# Load schema version needed to render admin menu bar +require_once( 'schema.php' ); + access_ensure_global_level( config_get_global( 'admin_site_threshold' ) ); if( function_exists( 'xdebug_disable' ) ) {