From 432d9c318f44c89be0134ff518e3ea4d95f15ed7 Mon Sep 17 00:00:00 2001 From: Connor Thomson Date: Fri, 18 Sep 2026 18:02:14 -0700 Subject: Add AGPL headers and remove unneeded files --- php/footer.php | 17 +++++++++++++++++ php/replace.php | 17 +++++++++++++++++ php/templates.php | 17 +++++++++++++++++ 3 files changed, 51 insertions(+) (limited to 'php') diff --git a/php/footer.php b/php/footer.php index 4a32baf..0d9c8b6 100644 --- a/php/footer.php +++ b/php/footer.php @@ -1,4 +1,21 @@ . + */ require_once PHP_DIR . 'replace.php'; diff --git a/php/replace.php b/php/replace.php index 70fdd25..9cdc5bf 100644 --- a/php/replace.php +++ b/php/replace.php @@ -1,4 +1,21 @@ . + */ function replace(string $templatePath, array $replacements = []): string { $html = file_get_contents($templatePath); diff --git a/php/templates.php b/php/templates.php index 4ead3f8..dfd4063 100644 --- a/php/templates.php +++ b/php/templates.php @@ -1,4 +1,21 @@ . + */ function render_component(string $componentPath): string { ob_start(); -- cgit v1.2.3