Nathaniel van Diepen 10 年之前
父節點
當前提交
c60317c16f
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      install/api.php

+ 1 - 1
install/api.php

@@ -137,7 +137,7 @@
 						echo file_get_contents('index.template.html');
 					}elseif($id='cleanup'){
 						$files = scandir(realpath(dirname(__FILE__)));
-						foreach($file in $files){
+						foreach($files as $file){
 							unlink($file);
 						}
 					}else{