加了 is_file unlink的时候依然报错,通过百度搜索发现 is_file存在缓存问题

详情查看 使用is_file替换file_exists遇上的坑

解决加了is_file unlink的时候依然报错问题。把is_file函数改为file_exists函数即可