diff options
Diffstat (limited to 'admin/remove.php')
-rw-r--r-- | admin/remove.php | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/admin/remove.php b/admin/remove.php index bf8e565..824fdee 100644 --- a/admin/remove.php +++ b/admin/remove.php | |||
@@ -3,6 +3,8 @@ | |||
3 | $delimage = "DELETE FROM moderation WHERE id = " . $_GET['id']; | 3 | $delimage = "DELETE FROM moderation WHERE id = " . $_GET['id']; |
4 | $delimage2 = mysql_query($delimage); | 4 | $delimage2 = mysql_query($delimage); |
5 | 5 | ||
6 | unlink($_SERVER['DOCUMENT_ROOT'] . '/moderation/' . $_GET['id'] . '.png'); | ||
7 | |||
6 | ?> | 8 | ?> |
7 | 9 | ||
8 | Removed comic <?php echo($_GET['id']); ?>! | 10 | Removed comic <?php echo($_GET['id']); ?>! |