Home>Article>PHP Framework> How to close thinkphp trace

How to close thinkphp trace

藏色散人
藏色散人 Original
2022-12-21 09:57:43 1966browse

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.

How to close thinkphp trace

#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!

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