import the thinkphp framework and some config