Home  >  Article  >  php教程  >  thinkphp configuration file path

thinkphp configuration file path

WBOY
WBOYOriginal
2016-08-30 09:21:111488browse

thinkphp configuration file path is configured in the entry file index.php.

If the Public directory is at the same level as the application directory:

2. If Public is inside the app:

3. If you use Public outside the app, but defined as:

define(<span style="color: #800000;">'</span><span style="color: #800000;">APP_PATH</span><span style="color: #800000;">'</span>,<span style="color: #800000;">'</span><span style="color: #800000;">./Application/</span><span style="color: #800000;">'</span>);

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn