Modifying Framework Builder.
I just posted something to the wish list HERE to which I thought I might ask if there is a way to do this now, or a modification I could make to framework.php that could accomplish this now.
To see more about why I want to accomplish this, see the thread linked above. What I would like to do is cause PHP code in the header of the template that is used for a theme to be executed BEFORE the PHP header code of the page the theme is applied to.
I took a look at the file and an answer does not jump out at me, but it seems the DOCTYPE is used as a breaking point, so it seems it should be possible.