Modify xmphp for thinkphp