Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2010-09-28 13:14:26

Enor
Member
From: London, UK
Registered: 2010-09-02
Posts: 26

Runtime comments

Hi

Is there a way to remove the runtime comments from my web pages source?

The comments vary on each page but look like this after my closing html tag:

<!— Runtime: 0.1255 —>
<!— Query time: 0.112914 —>
<!— Queries: 16 —>
<!— Memory: 2477Kb, end of textpattern() —>

Or are they required for Textpattern to work?

Offline

#2 2010-09-28 13:23:11

Gocom
Developer Emeritus
From: Helsinki, Finland
Registered: 2006-07-14
Posts: 4,533
Website

Re: Runtime comments

The comments are only shown when the site is in Debugging or Testing mode. Change the site’s production status to Live and they are gone. You can find the setting from Textpattern/Admin/Preferences > Production Status.

Offline

#3 2010-09-28 13:25:27

Enor
Member
From: London, UK
Registered: 2010-09-02
Posts: 26

Re: Runtime comments

Thank you Jukka :)

Offline

Board footer

Powered by FluxBB