Persistent connections are capable little beasts.  The trick to persistent connections is in the Config.class.php file, for the DATABASE_HOST setting, set the value from IP to literally p:IP  This should work the same in the case of localhost setting to e.g. p:localhost.  Move the CONTENT_DISPLAY processevent into the html so the css code operates properly.  Hopefully better attempts to initialize and close DB settings.

git-svn-id: https://svn.code.sf.net/p/freeghost/code/trunk@2438 71f96598-fa45-0410-b640-bcd6f8691b32