If thikphp framework is used, a project contains multiple folders, in which folder the html page is placed, and how to call the methods in the Action folder, especially the path when calling.

Source: Internet
Author: User
Using the thikphp framework, a project contains multiple folders, which folder the html page is placed in, and how to call the methods in the Action folder, especially the path during the call, the most detailed information is the folder in which the html page of a project is stored and how to call the method in the action. The problem is that the path is incorrect, the project directory structure and system directory generated by someone else must use the thikphp framework. there are multiple folders in a project and the folder in which the html page is placed, and how to call the methods in the Action folder, especially when calling the path problem, as detailed as possible
This mainly refers to the folder in which the html page of a project is stored and how to call the method in the action. The problem is that the path is incorrect.

------ Solution --------------------
Take care of others


The generated project directory structure is similar to the system directory, including:

Common
Project Public File Directory, generally placed in the project's public functions

Conf
Project configuration directory, where all configuration files of the project are stored

Lang
Project language pack Directory (optional, can be deleted if you do not need multiple languages)

Lib
The project class library directory, usually including the Action and Model subdirectories.

Tpl
Project Template directory, supporting template themes

Runtime
Project runtime Directory, including Cache (Template Cache), Temp (Data Cache), Data (Data directory), and Logs (log file) subdirectories. if there are groups, the first is the group Directory.


------ Solution --------------------
The suffix is the ultultnext to the tplainfo, and the name of your current actionname is the character under the folder. html

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.