Cleanups.
[fa-stable.git] / admin / attachments.php
index d41684b1b87854187ac11ecd81a7b1dd700a7da2..2dcce85df2e7e9b3d69bfd016259b34fd185daf6 100644 (file)
@@ -92,7 +92,7 @@ if ($Mode == 'ADD_ITEM' || $Mode == 'UPDATE_ITEM')
                        $index_file = "<?php\nheader(\"Location: ../index.php\");\n?>";
                        $fp = fopen($dir."/index.php", "w");
                        fwrite($fp, $index_file);
-                       fclose($fp); _vd($dir);
+                       fclose($fp);
                }
                // file name compatible with POSIX
                // protect against directory traversal