Well this is a hack. You need to follow these instructions to install the hack. To upgrade Photopost you must follow the steps in the UPGRADE.TXT file in the documentation folder in the photopost distribution.
Simply put upload all files to your photopost directory EXCEPT config-inc.php. Then run these upgrade scripts in order.
upgrade46.php
upgrade467.php
YOUR DONE. Then apply this hack.