At first, I saw the login link of the thousand maps.
Own made the site also looked down
The way to change is in the framework of TP3.2.2.
The specific path is D:\www\ThinkPHP\Library\Think\View.class.php
It's about 93.
/** * Output content text can include HTML * @access private * @param string $content output * @param string $charset template output Character set * @param string $contentType Output Type * @return Mixed*/ Private functionRender$content,$charset= ",$contentType= ' '){ if(Empty($charset))$charset= C (' Default_charset '); if(Empty($contentType))$contentType= C (' Tmpl_content_type '); //page character encoding Header(' Content-type: '.$contentType.‘; Charset= '.$charset); Header(' Cache-control: '. C (' Http_cache_control '));//Page Cache Control Header(' X-powered-by:xxxcms '); //Output Template file Echo $content; }
After the change, we'll see that it's already there.
Thinkphp 3.2 Response Header x-powered-by modification