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>);