projects
/
fa-stable.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Cleanups.
[fa-stable.git]
/
admin
/
attachments.php
diff --git
a/admin/attachments.php
b/admin/attachments.php
index d41684b1b87854187ac11ecd81a7b1dd700a7da2..2dcce85df2e7e9b3d69bfd016259b34fd185daf6 100644
(file)
--- a/
admin/attachments.php
+++ b/
admin/attachments.php
@@
-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