On some pages that are called by the message_die() function call, the IntegraMod headers (left column) does not display. This will allow the headers to be displayed on all pages.
OPEN: includes/functions.php
FIND:
- Code: Select all
//+MOD] = array( 'msg_code' => $msg_code, 'msg_text' => $msg_text, 'msg_title' => $msg_title, 'err_line' => $err_line, 'err_file' => $err_file, 'sql' => $sql );//-MOD: Fix message_die for multiple errors MOD
AFTER, ADD:
- Code: Select all
//--- Fix Global Headers --- $sql_store = $sql; if ( !defined('HEADER_INC') ) { if ( !defined('IN_ADMIN') ) { include($phpbb_root_path . 'includes/page_header.'.$phpEx); } else { include($phpbb_root_path . 'admin/page_header_admin.'.$phpEx); } }//--- ---
FIND] $sql_store = $sql;[/code]
REPLACE WITH:
- Code: Select all
//--- Fix Global Headers ---// $sql_store = $sql;//--- ---
FIND] // // Load the Page Header // if ( !defined('IN_ADMIN') && !defined('HEADER_INC') ) { include($phpbb_root_path . 'includes/page_header.'.$phpEx); } else { include($phpbb_root_path . 'admin/page_header_admin.'.$phpEx); }[/code]
REPLACE WITH:
- Code: Select all
//--- Fix Global Headers ---/* // // Load the Page Header // if ( !defined('IN_ADMIN') && !defined('HEADER_INC') ) { include($phpbb_root_path . 'includes/page_header.'.$phpEx); } else { include($phpbb_root_path . 'admin/page_header_admin.'.$phpEx); }*///--- ---