diff options
| author | Connor Thomson <blumatrikz@gmail.com> | 2026-09-18 17:23:39 -0700 |
|---|---|---|
| committer | Connor Thomson <blumatrikz@gmail.com> | 2026-09-18 17:23:39 -0700 |
| commit | 94a6551bafd51deb2bfae144336689eb0472abf6 (patch) | |
| tree | 103db6511e06a43dbc90fc26b89ded9ca519a3d3 /php/footer.php | |
Upload files from test.gnufault.org
Diffstat (limited to 'php/footer.php')
| -rw-r--r-- | php/footer.php | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/php/footer.php b/php/footer.php new file mode 100644 index 0000000..4a32baf --- /dev/null +++ b/php/footer.php @@ -0,0 +1,14 @@ +<?php + +require_once PHP_DIR . 'replace.php'; + +$year = date('Y'); + +$targets = [ + '{{YEAR}}' => $year +]; + +$html = replace(HTML_DIR . 'footer.html', $targets); + +echo $html; +?> |
