diff --git a/LICENSE b/LICENSE deleted file mode 100644 index c40552a..0000000 --- a/LICENSE +++ /dev/null @@ -1,18 +0,0 @@ -MIT License - -Copyright (c) 2026 jakob48 - -Permission is hereby granted, free of charge, to any person obtaining a copy of this software and -associated documentation files (the "Software"), to deal in the Software without restriction, including -without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the -following conditions: - -The above copyright notice and this permission notice shall be included in all copies or substantial -portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT -LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO -EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER -IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE -USE OR OTHER DEALINGS IN THE SOFTWARE. diff --git a/README.md b/README.md index dbd8f60..32be47f 100644 --- a/README.md +++ b/README.md @@ -5,11 +5,9 @@ Dies ist eine einfache Wunschliste gemacht mit PHP! ## Installation -Du installierst es einfach in dem du die ZIP Datei von den Releases Herunterlädst und es in dein Webserver mit PHP Hochlädst. - -Du kannst außerdem in der config.php deinen Namen angeben der Dan überall steht. +Du installierst es einfach in dem du die ZIP Datei von den Releases Herunterlädst und es in dein Webserver mit PHP hochlädst. Mit in /admin befindet sich das Admin Panel wo die die einträge verwalten kanst. > [!Warning] -> Die /admin Seite ist Standardmäßig nicht geschützt! Bitte schütze diese mit z.b. einem Login über den Webserver \ No newline at end of file +> Die /admin Seite ist standardmäßig nicht geschützt! Bitte schütze diese mit z.b. einem Login über den Webserver \ No newline at end of file diff --git a/admin/add.php b/admin/add.php index f2734b8..58c593a 100644 --- a/admin/add.php +++ b/admin/add.php @@ -9,7 +9,7 @@ $name = $_POST["name"] ?? ''; $link = $_POST["link"] ?? ''; $price = $_POST["price"] ?? ''; -$jsonFile = '../wishes.json'; +$jsonFile = '../assets/data.json'; $wishes = []; if (file_exists($jsonFile)) { diff --git a/admin/delete.php b/admin/delete.php index 54de54a..d24623b 100644 --- a/admin/delete.php +++ b/admin/delete.php @@ -1,7 +1,7 @@ - - - - Wunschliste von <?php include '../config.php'; echo $page_name; ?> [ADMIN] - - - - - Dateisystem Fehler (Schreibrechte prüfen!). - '; - } - ?> -
-
- -