return '<a href="' . $url . '" class="a" rel="nofollow" target="_blank">' . FORMAT::sub_url($matches[1], 50) . '</a>';
在它前面,注意是前面,加上以下代码,保存即可。
		if(preg_match('/(http[s]?:\/\/?(.+).+\.swf)\w*/', $matches[1]))
		
	    {
		$url = $matches[1];
		
		return '<embed height="480" loop="true" menu="true" play="true" pluginspage="http://www.macromedia.com/go/getflashplayer" src="' . $url . '" type="application/x-shockwave-flash" width="640">';
	    }
如果懒得改,你可以直接下载附件,覆盖system/functions.inc.php。系统文件,注意备份。AI智能回复搜索中,请稍后...