commit 210f27e7c70288c9c71c6d98f497b6d236735fe5 Author: marc-go Date: Tue Sep 29 14:38:06 2026 +0200 Add initial implementation of database and HTML loader classes diff --git a/database.db b/database.db new file mode 100644 index 0000000..e69de29 diff --git a/public/html_loader.php b/public/html_loader.php new file mode 100644 index 0000000..e4bd2cb --- /dev/null +++ b/public/html_loader.php @@ -0,0 +1,22 @@ +showError('Template "' . $template . '" was not found.'); + + } + } +} \ No newline at end of file diff --git a/public/index.php b/public/index.php new file mode 100644 index 0000000..473bce8 --- /dev/null +++ b/public/index.php @@ -0,0 +1,7 @@ +initSetup(); + } + } + + function initSetup() { + // Load and init the HTML Loader + require "html_loader.php"; + $html = new HTMLLoader(); + + // Set template to Setup an show it + $html->setTemplate("setup"); + $html->show(); + } +} \ No newline at end of file