Remove cmsms comment from html-source?

General project discussion. NOT for help questions.
Post Reply
Hare
Forum Members
Forum Members
Posts: 87
Joined: Sat Jun 03, 2006 11:46 am

Remove cmsms comment from html-source?

Post by Hare »

Hi

I've used CMSMS for a while and I like it. I like it a lot. I've been asked to do a commercial site and I would like to use CMSMS as the content management system. However. CMS Made Simple adds it's own "signature" to the HTML source:

Could I remove this? I already know how it can be done, but I'm wondering if it would be "ok". The reason why I would like to remove it is that I'm worried about security. I don't want to shout out which CMS I'm using since a hacker could possibly use this information pretty easily if someone discovered a vulnerability in a certain release. Once installed I can't update it later since the server isn't mine.

By the way. This was my first post on this forum so I think it's appropriate to slip in a huge thanks for a brilliant CMS :D

Eh. Just as I posted I tried another search and found a thread with license discussions.
Last edited by Hare on Sat Jun 03, 2006 11:59 am, edited 1 time in total.
Ted
Power Poster
Power Poster
Posts: 3329
Joined: Fri Jun 11, 2004 6:58 pm

Re: Remove cmsms comment from html-source?

Post by Ted »

I've actually removed the version number from this in 0.13 on.  Though, yes, it's ok to remove it if necessary.
Hare
Forum Members
Forum Members
Posts: 87
Joined: Sat Jun 03, 2006 11:46 am

Re: Remove cmsms comment from html-source?

Post by Hare »

Whoah. That was fast :D Thanks.
Muzzy

Re: Remove cmsms comment from html-source?

Post by Muzzy »

Hare wrote: Made Simple adds it's own "signature" to the HTML source:

Could I remove this? I already know how it can be done, but I'm wondering if it would be "ok".
Hi.
Very much like yourself, but I generally work with church and charity sites. My question then is how do you remove this "signature" as I have been unable to find it myself.

Thanks.
Mike.
Piratos

Re: Remove cmsms comment from html-source?

Post by Piratos »

Oh man

open index.php

find this and delete this:

Code: Select all

if ($config["debug"] == true)
{
	echo "<p>Generated in ".microtime_diff($starttime,$endtime)." seconds by CMS Made Simple 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 "<!-- 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";
ready
Muzzy

Re: Remove cmsms comment from html-source?

Post by Muzzy »

Thanks Piratos, very helpful.

Mike.
Post Reply

Return to “General Discussion”