if (!defined('SMF'))

die('Hacking attempt...');

That will kick in before anything, it's a constant, how would you define it. And why this was added as a bid?