将ld314acc-dz410.php文件大概第658行中的
$message = str_replace("../images/", 'leadbbsfile/', preg_replace("/\ \;\s*/", '',$post['printcontent']));
$message = str_replace("./images/", 'leadbbsfile/', preg_replace("/\ \;\s*/", '',$post['printcontent']));
$message = str_replace("/images/", 'leadbbsfile/', preg_replace("/\ \;\s*/", '',$post['printcontent']));
改成
$message = str_replace("../images/", '../leadbbsfile/', preg_replace("/\ \;\s*/", '',$post['printcontent']));
$message = str_replace("./images/", './leadbbsfile/', preg_replace("/\ \;\s*/", '',$post['printcontent']));
$message = str_replace("/images/", '/leadbbsfile/', preg_replace("/\ \;\s*/", '',$post['printcontent']));
也就是说,'leadbbsfile/'要与前边的"../images/"对应,
对应为:
"../images/", '../leadbbsfile/'
"./images/", './leadbbsfile/'
"/images/", '/leadbbsfile/' |