summaryrefslogtreecommitdiff
path: root/php
diff options
context:
space:
mode:
authorConnor Thomson <blumatrikz@gmail.com>2026-09-18 17:37:40 -0700
committerConnor Thomson <blumatrikz@gmail.com>2026-09-18 17:37:40 -0700
commita0c728c38fbde41b89e5a345ff2b0b06e5acfc74 (patch)
treec4155a29169c1a399f6a83ec99148bf2cfe3d521 /php
parent94a6551bafd51deb2bfae144336689eb0472abf6 (diff)
Move php/app.php to app.php
Diffstat (limited to 'php')
-rw-r--r--php/app.php23
1 files changed, 0 insertions, 23 deletions
diff --git a/php/app.php b/php/app.php
deleted file mode 100644
index cde972d..0000000
--- a/php/app.php
+++ /dev/null
@@ -1,23 +0,0 @@
-<?php
-
-ini_set('display_errors', 1);
-error_reporting(E_ALL);
-
-define('ROOT_DIR', __DIR__ . '/../');
-define('HTML_DIR', __DIR__ . '/../html/');
-define('PHP_DIR', __DIR__ . '/../php/');
-
-require_once PHP_DIR . 'templates.php';
-
-$file = $_GET['file'] ?? 'index.html';
-
-$components = [
- '{{HEADER}}' => HTML_DIR . 'header.html',
- '{{CONTENT}}' => ROOT_DIR . $file,
- '{{FOOTER}}' => PHP_DIR . 'footer.php'
-];
-
-$app_html = template_process(HTML_DIR . 'app.html', $components);
-
-echo $app_html;
-?>