How to close thinkphp trace: 1. Add "define(APP_DEBUG, false);" to the entry file index.php; 2. Add "'SHOW_PAGE_TRACE' = false" to the config.php configuration file; 3. Delete the cache folder Runtime and refresh the page.
#The operating environment of this tutorial: Windows 10 system, thinkphp version 5, Dell G3 computer.
How to close thinkphp trace?
To close the trace in the lower right corner of thinkphp, you can try the following steps:
1. Add
define(APP_DEBUG, false);
to the entry file index.php 2. Configure in config.php Add
'SHOW_PAGE_TRACE' = false
3 to the file. Then delete the cache folder Runtime and refresh the page
Recommended learning: "thinkPHP Video Tutorial"
The above is the detailed content of How to close thinkphp trace. For more information, please follow other related articles on the PHP Chinese website!