只判断oldface 前面是否在目录下,没包括过滤 ../
但有验证  \.(jpg|gif|png)$  ,所以只能删除  jpg , gif ,png 类型的文件。
那天看那个站不爽,写个遍列删除的也爽YY了。