14
There are two differences in cp_functons.php:
- first is an additional inclusion of language stylesheets in xoops_legacy_cp_header()
le="color: #000000"><?php if (file_exists(XOOPS_ROOT_PATH . '/modules/system/class/gui/default/css/' . _LANGCODE . '.css')) { echo '<link rel="stylesheet" type="text/css" media="all" href="' . XOOPS_URL . '/modules/system/class/gui/default/css/' . _LANGCODE . '.css" />'; } if (file_exists(XOOPS_ROOT_PATH . '/language/' . $xoopsConfig["language"] . '/style.css')) { echo '<link rel="stylesheet" type="text/css" media="all" href="' . XOOPS_URL . '/language/' . $xoopsConfig["language"] . '/style.css" />'; }
Seems OK to me.
- Second is a modification in xoops_legacy_cp_footer()
le="color: #000000"><?php include XOOPS_CACHE_PATH.'/adminmenu.php'; echo $xoops_admin_menu_dv; echo " </body> </html> "; echo $GLOBALS['xoopsLogger']->render( '' ); ob_end_flush();
is altered to
le="color: #000000"><?php include XOOPS_CACHE_PATH.'/adminmenu.php'; echo $xoops_admin_menu_dv; echo $GLOBALS['xoopsLogger']->render( '' ); ob_end_flush(); echo " </body> </html> ";
I can see that you want the debug info inside the body tag, but why doing the ob_end_flush() before the end tags is something beyond me.
I would expect:
le="color: #000000"><?php include XOOPS_CACHE_PATH.'/adminmenu.php'; echo $xoops_admin_menu_dv; echo $GLOBALS['xoopsLogger']->render( '' ); echo " </body> </html> "; ob_end_flush();
Quote:
i can't replicate your issue
Could it be a race condition?