From 2c794a113a3d395c6c8c717fb2fbb3c5f0fa5436 Mon Sep 17 00:00:00 2001 From: "MosLaptop\\Not.Reda" Date: Fri, 13 Jun 2025 13:08:18 +0200 Subject: [PATCH] Add initial REST API structure with starter files --- Library/Msg.php | 30 ++++++++++++++++++++++++++++++ {Library => app/Services}/.gitkeep | 0 2 files changed, 30 insertions(+) create mode 100644 Library/Msg.php rename {Library => app/Services}/.gitkeep (100%) diff --git a/Library/Msg.php b/Library/Msg.php new file mode 100644 index 0000000..b1ed15a --- /dev/null +++ b/Library/Msg.php @@ -0,0 +1,30 @@ + true, + "msg" => is_null($msg) ? 'Ihre Anfrage konnte nicht verarbeitet werden' : $msg, + "ex" => $striped + )); + } else { + echo json_encode(array("isError" => false)); + } + die; + } +} \ No newline at end of file diff --git a/Library/.gitkeep b/app/Services/.gitkeep similarity index 100% rename from Library/.gitkeep rename to app/Services/.gitkeep