Page 1 of 1

[SOLVED] Remove statistics comment at the end of each file/render

Posted: Thu Sep 24, 2009 1:02 am
by simplesimon
I want to get rid of the comment at the end of each render including the back end. It looks like this:

Code: Select all

<!-- 0.128189 / 52 / 13759184 / 14225264 -->
Can some one/dev please tell me what code to comment out. I assuming there is not a toggle switch for this somewhere.

The reason I want to do this is to make a pure text file/render. It's for a site map.

Thanks!

Re: Remove statistics comment at the end of each file/render

Posted: Thu Sep 24, 2009 1:18 am
by jmcgin51
asked and answered:

forum.cmsmadesimple.org/index.php/topic,37395.0.html

Re: Remove statistics comment at the end of each file/render

Posted: Thu Oct 01, 2009 8:22 am
by simplesimon
Excellent! Hopefully now it will show up in the search, as a I was actually looking for that info and the poster in the other thread had a different problem.

So here it is:
edit config.php
add

Code: Select all

$config['hide_performance_info'] = true;
So setting it to false also does the same thing ATM, but you need to set it to something. I would suggest setting it to true in case this gets cleaned up in the future.

Many thanks, jmcgin51!