标签:logs cms blog .com str dedecms upload ret field
function replaceurl($newurl) { $newurl=str_replace(‘src="/uploads/allimg/‘,‘src="xxx.com/uploads/allimg/‘,$newurl); return $newurl; }
{dede:field.body function=‘replaceurl(@me)‘/}
标签:logs cms blog .com str dedecms upload ret field
原文地址:http://www.cnblogs.com/flay/p/6906871.html