summary refs log tree commit diff stats
path: root/admin/remove.php
diff options
context:
space:
mode:
authorStar Rauchenberger <fefferburbia@gmail.com>2009-02-22 13:15:37 -0500
committerStar Rauchenberger <fefferburbia@gmail.com>2009-02-22 13:15:37 -0500
commiteee98526c48b9154cd9e9bc8bc3e07769e6a39ea (patch)
tree9d8d719a2ccea91de86435ccd985241ddb3fa0cb /admin/remove.php
parent653c7b3a488488d4b161a8fae41ada5851bf7685 (diff)
downloadpillowcase-eee98526c48b9154cd9e9bc8bc3e07769e6a39ea.tar.gz
pillowcase-eee98526c48b9154cd9e9bc8bc3e07769e6a39ea.tar.bz2
pillowcase-eee98526c48b9154cd9e9bc8bc3e07769e6a39ea.zip
Rewrote Pillowcase
NOTE: There is a new database schema now, so the database from the testing server has to be copied over to the production server, otherwise this code
will fail.
Diffstat (limited to 'admin/remove.php')
-rw-r--r--admin/remove.php10
1 files changed, 0 insertions, 10 deletions
diff --git a/admin/remove.php b/admin/remove.php deleted file mode 100644 index 824fdee..0000000 --- a/admin/remove.php +++ /dev/null
@@ -1,10 +0,0 @@
1<?php
2
3$delimage = "DELETE FROM moderation WHERE id = " . $_GET['id'];
4$delimage2 = mysql_query($delimage);
5
6unlink($_SERVER['DOCUMENT_ROOT'] . '/moderation/' . $_GET['id'] . '.png');
7
8?>
9
10Removed comic <?php echo($_GET['id']); ?>!