This repository has been archived on 2022-02-10. You can view files and clone it, but cannot push or open issues or pull requests.
filespread/res/php/deletetemplate.php
2016-04-06 17:30:05 +02:00

11 lines
179 B
PHP

<?php
# COPYRIGHT (c) 2016 Marcel Kapfer (mmk2410)
# MIT License
$filename = "../../templates/" . $_GET["template"];
if (unlink($filename)) {
echo 0;
} else {
echo 1;
}