Update index.php
Update index.php

Cleaned up shutdown post handler.
chaveiro/emoncms,jeremypoulter/emoncms,emoncms/emoncms,thaipowertech/emoncms,chaveiro/emoncms,emoncms/emoncms,inverse/emoncms,jeremypoulter/emoncms,jeremypoulter/emoncms,thaipowertech/emoncms,inverse/emoncms,chaveiro/emoncms,thaipowertech/emoncms,thaipowertech/emoncms,inverse/emoncms,emoncms/emoncms,emoncms/emoncms,inverse/emoncms,emoncms/emoncms,chaveiro/emoncms,jeremypoulter/emoncms