A page of content into modified line
1, to open the file E / class / the functions.php
2, locate the following function
function GetHtml($classid,$id,$add,$ecms=0,$doall=0)
3, // add code before writing files
/ * A product technology - replaces line with large spaces * / preg_match_all ( ' / .? (*) <\ / Pre> / S ', $ String , $ R & lt ); the foreach ( $ R & lt [0] AS $ Key => $ value ) { $ String = str_replace ( $ value ., "[#]" $ Key "[#]",. $ String ); } $ String = preg_replace ( '[\ R & lt \ n-]', '', $ String ); $ String = preg_replace ( '/> \ S + (*.?) <', $ String ); foreach ($r[0] as $key => $value) { $string=str_replace("[#]".$key."[#]",$value, $string); } //写文件 WriteFiletext($file,$addlevel.$string);