Current location: home page > course >Body

ZBPDK Plug in Magic Function: Forbid zblog to output program running information

use ZBLOG Our friends all know that, The zb program will output the running information of the website such as the running time of the page at the bottom of the source code by default.

Check the source code of this site and we can find that there is a similar<-- 84.55 ms, 6 query, 3554kb memory, 0 error -->code.

Although this information will not be displayed on the normal browsing page, it may not be seen by some people with obsessive-compulsive disorder.

In fact, it is also very simple to close this. After all, ZB is a building block website building program.

We need to use an official development tool Z-Blog PHP Development Kit implements this requirement!

First, install and enable the Z-Log PHP Development Kit.

Then select BlogConfig → system in the Z-Blog PHP Development Kit plug-in.

 ZBPDK Plug in Magic Function: Forbid zblog to Output Program Running Information Page 1

Find ZC_RUNINFO_DISPLAY, close and save it.

 ZBPDK Plug in Magic Function: Forbid zblog to Output Program Running Information Page 2

If you look at the source code, you will find that the running information is no longer available.

Note: ZBPDK is a very professional plug-in. If you do not understand the function of each option, do not operate randomly


Resource download

Z-Blog PHP Development Kit plug-in download

Updated on: 2022-02-19