notes postgres backend

This commit is contained in:
bogale 2026-09-29 17:49:35 +09:00
commit 6519fa6827
9 changed files with 82 additions and 55 deletions

View file

@ -1,8 +1,7 @@
<?php
$_shared = $_SERVER["DOCUMENT_ROOT"] . "/templates";
$_title = "Media viewer";
$root = $_SERVER["DOCUMENT_ROOT"];
require "$root/templates/header.php";
require "$_shared/header.php";
$urls_base = __DIR__ . "/urls";
if (isset($_GET["list"])) {
$file = "$urls_base/" . $_GET["list"];
@ -15,6 +14,5 @@ if (isset($_GET["list"])) {
echo "<a href='" . $_SERVER['PHP_SELF'] . "?list=$list'>Try $list</a><br>";
}
}
require "$root/templates/footer.php";
require "$_shared/footer.php";
?>