make sure we're not trying to access bolt as "/index.php/bolt/", because all paths will be broken. Fixes #277.