[eluser]Dam1an[/eluser]
Its defined in index.php, the reason for having it in every page is to stop people accessing other php files directly, as you need to go via index.php to define it so you can use anything
Do you ever invoke doctrine.php without using the front controller?