Using the thikphp framework, a project has multiple folders, the HTML page in which folder, and the action folder in the method of how to call, especially in the call when the path of the problem, as far as possible in detail
Source: Internet
Author: User
Using the thikphp framework, a project has multiple folders, the HTML page in which folder, and the action folder in the method how to call, especially in the call when the path problem, as far as possible in detail
is mainly a project where the HTML page in which folder, in the call action in the method when the call, the problem is the path is wrong
------Solution--------------------
If you eat someone else's meal, you will be under the control
The resulting project directory structure is similar to the system directory, including:
Common
Common functions for Project public files directory, general placement of items
Conf
Project configuration directory, all the configuration files of the project are put here
Lang
Project Language Pack directory (optional if multiple language support is not required to delete)
Lib
Project class library catalogs, usually including action and model subdirectories
Tpl
Project template catalog, Support Template theme
Runtime
The Project runtime directory, which includes the cache (template cache), Temp (data cache), data directory, and logs (log file) subdirectories, are first grouped if there is a grouping.
------Solution--------------------
The default is placed under the TPL under Default, your current action name is what the folder under the current method name. html
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