How to delete two last lines from source

For questions and problems with the CMS core. This board is NOT for any 3rd party modules, addons, PHP scripts or anything NOT distributed with the CMS made simple package itself.
Locked
Cieska

How to delete two last lines from source

Post by Cieska »

Then i view my site View>Page Source the last two lines is:



I want to delete them! How i can make this?
User avatar
Dr.CSS
Moderator
Moderator
Posts: 12711
Joined: Thu Mar 09, 2006 5:32 am

Re: How to delete two last lines from source

Post by Dr.CSS »

just curious... why?
 
    mark
Piratos

Re: How to delete two last lines from source

Post by Piratos »

Open index.php and delete this lines:

Code: Select all

echo "<!-- Generated in ".microtime_diff($starttime,$endtime)." seconds by CMS Made Simple using ".(isset($db->query_count)?$db->query_count:'')." SQL queries -->\n";
#echo "<p>Generated in ".microtime_diff($starttime,$endtime)." seconds by CMS Made Simple (".$cached."cached) using ".(isset($db->query_count)?$db->query_count:'')." SQL queries and ".(function_exists('memory_get_usage')?memory_get_usage():'n/a')." bytes of memory</p>";
echo "<!-- CMS Made Simple - Released under the GPL - http://cmsmadesimple.org -->\n";
Cieska

Re: How to delete two last lines from source

Post by Cieska »

Thank you very much!

I like to have clean code.
Locked

Return to “CMSMS Core”