summaryrefslogtreecommitdiff
path: root/php/replace.php
diff options
context:
space:
mode:
authorConnor Thomson <blumatrikz@gmail.com>2026-09-18 18:02:14 -0700
committerConnor Thomson <blumatrikz@gmail.com>2026-09-18 18:02:14 -0700
commit432d9c318f44c89be0134ff518e3ea4d95f15ed7 (patch)
tree7a0bb8b30d8ec09ce6fbc79d2eeb0c99a6d519b8 /php/replace.php
parent2dcc385ccd22bc2d70208d5cac2d2398a40ff34e (diff)
Add AGPL headers and remove unneeded files
Diffstat (limited to 'php/replace.php')
-rw-r--r--php/replace.php17
1 files changed, 17 insertions, 0 deletions
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 @@
<?php
+/*
+ * GNUfault.org - GNUfault's website
+ * Copyright (C) 2026 Connor Thomson
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Affero General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Affero General Public License for more details.
+ *
+ * You should have received a copy of the GNU Affero General Public License
+ * along with this program. If not, see <https://www.gnu.org/licenses/>.
+ */
function replace(string $templatePath, array $replacements = []): string {
$html = file_get_contents($templatePath);