Update PHPFetion.php

change cookiepath into construct function.