If you're dumb like me, and you put untested code in the global_start hook and suddenly you find that you can't access your board anymore, here's an easy way to fix it.
Open global.php, search for this block of code:
Code:
if (!is_demo_mode())
{
@ob_start();
($hook = vBulletinHook::fetch_hook('global_start')) ? eval($hook) : false;
$phpinclude_output = @ob_get_contents();
@ob_end_clean();
}
and comment it out, so it looks like this:
Code:
/*
if (!is_demo_mode())
{
@ob_start();
($hook = vBulletinHook::fetch_hook('global_start')) ? eval($hook) : false;
$phpinclude_output = @ob_get_contents();
@ob_end_clean();
}
*/
Then you'll be able to access your board again and can go in and either fix or delete your bad code. After you fix it, go back to global.php and un-comment the code.
