ooh, I'm so out of practice :-/

I guess it doesn't matter whether I check for var/logs or var/database.php... it just has to be here, before we try using any Kohana or gallery stuff.  I tried using HTTP::redirect(...) and URL::abs_file(...) first and it still tries to use Kohana error handling which then fails with the missing __() function.