Re: bootstrap.php causes error in Theme.php
Reply #1 –
hmm...
That should do for the moment.
In bootstrap.php search for:
else
{
setupThemeContext();
}
and change it to:
else
{
if (!empty($modSettings['front_page']) && is_callable(array($modSettings['front_page'], 'frontPageHook')))
{
$modSettings['default_forum_action'] = '?action=forum;';
}
else
{
$modSettings['default_forum_action'] = '';
}
setupThemeContext();
}
I would prefer to have this code somewhere else, but honestly I can't see a good place for it at the moment.