- A+
方法:打开 module.php 找到
- $sql = "SELECT * FROM ".DB_PREFIX."attachment WHERE blogid=".$blogid." AND (`filepath` LIKE '%jpg' OR `filepath` LIKE '%gif' OR `filepath` LIKE '%png') ORDER BY `aid` ASC LIMIT 0,1";
修改为
- $sql = "SELECT * FROM ".DB_PREFIX."attachment WHERE blogid=".$blogid." AND (`filepath` LIKE '%thum%') ORDER BY `aid` ASC LIMIT 0,1";
不保证完全一模一样,具体自己对比,测试,修改。