Nathaniel van Diepen hace 10 años
padre
commit
c60317c16f
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  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{