git 2 年之前
父节点
当前提交
2a9694dc01
共有 1 个文件被更改,包括 4 次插入2 次删除
  1. 4 2
      Home/Lib/Action/ListeningFileCreateAction.class.php

+ 4 - 2
Home/Lib/Action/ListeningFileCreateAction.class.php

@@ -56,9 +56,11 @@ class ListeningFileCreateAction extends Action {
 		    {
 		        echo $item;
 		    }
-			$res1=str_replace(".dat.redis",".md5",$res);
+			//$res1= pathinfo(str_replace(".redis","",$res), PATHINFO_EXTENSION);
+			$res2=str_replace('.dat.redis',".md5",$res);
+			unlink($res2);
 			unlink($res);
-			unlink($res1);
+