Review of Thinkphp Framework Foundation
First, what we have to know is the directory structure:
We will have the following directory after the decompression is completed:
This is the official TP manual directory interpretation, we can not go to see other files, here, we mainly use PHP Core library thinkphp Framework directory:
And then, under this very main directory, the following file directories are equally important to us:
This is the core of TP directory, the next is about the import file, it is obvious that the entrance file is more than the Zend framework of the entry file is much more easy to find, then the import file in fact, the surface of the decompression directory has been given to us, we can directly use it, of course, you can write, is the index of the file, it is important to note that must be introduced thinkphp.php this framework core file, because it contains all the TP framework configuration, we have to use frequently.
Then the purpose of the portal file is that all the pages have to go through the portal file, which has great benefits, but also how we used to judge whether the user is legally logged in, there is obviously a better solution.
Finally, we had better directly open the portal file under our own sequel host, then we saw the lovely:
http://www.bkjia.com/PHPjc/987983.html www.bkjia.com true http://www.bkjia.com/PHPjc/987983.html techarticle thinkphp Framework Foundation Review First, what we must know is the directory structure: After we have unpacked, we will see the following directories: This is the official TP Manual catalogue interpretation, we can ...