Initial commit
This commit is contained in:
commit
78a4e70036
24 changed files with 1067 additions and 0 deletions
11
res/php/deletetemplate.php
Normal file
11
res/php/deletetemplate.php
Normal file
|
@ -0,0 +1,11 @@
|
|||
<?php
|
||||
# COPYRIGHT (c) 2016 Marcel Kapfer (mmk2410)
|
||||
# MIT License
|
||||
|
||||
$filename = "../../templates/" . $_GET["template"];
|
||||
|
||||
if (unlink($filename)) {
|
||||
echo 0;
|
||||
} else {
|
||||
echo 1;
|
||||
}
|
Reference in a new issue