Home> PHP Framework> ThinkPHP> body text

How to close thinkphp trace

藏色散人
Release: 2022-12-21 09:57:43
Original
1976 people have browsed it

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);
Copy after login

to the entry file index.php 2. Configure in config.php Add

'SHOW_PAGE_TRACE' = false
Copy after login

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!

Related labels:
source:php.cn
Statement of this Website
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
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!