Refactor API structure: add internal handling, update templates, and remove deprecated files

This commit is contained in:
marc-go committed 2026-10-10 13:43:18 +02:00
1 parent 313ffec92c
commit a33de15f0c
16 files changed
+91 -29

No files matched your search

+2 -2
View File
@@ -1,6 +1,6 @@
<?php
class HTMLLoader {
private $template;
private $page;
function __construct() {
// Check if Paths variables exists
@@ -20,7 +20,7 @@ class HTMLLoader {
}elseif (!array_key_exists("error", $json)){
die("Error Template was not found.");
}
$this->template = $template;
$this->page = $template;
}
function showError($error) {