From 3c6edc527733293fb2b6e234bb22e2348194488a Mon Sep 17 00:00:00 2001 From: Your Name Date: Mon, 13 Oct 2025 18:23:33 -0400 Subject: [PATCH] add css to submit page --- .gitignore | 1 + config.php | 3 +-- submit.php | 4 +++- 3 files changed, 5 insertions(+), 3 deletions(-) diff --git a/.gitignore b/.gitignore index 0bc7dad..9626fa0 100644 --- a/.gitignore +++ b/.gitignore @@ -1,5 +1,6 @@ *~ #* +.#* *.secret *.db diff --git a/config.php b/config.php index b4bae05..5f92469 100755 --- a/config.php +++ b/config.php @@ -3,10 +3,9 @@ error_reporting(E_ERROR | E_PARSE); define("bannedhosts", array("google.com")); define("sitename", "Eternal Winter"); define("dbfile", "secrets/eternalwinter.db"); -define("static", "/static"); +define("static", "static"); define("banner", "banner.jpg"); define("css", "main.css"); -define("captchafont", "captchafont.ttf"); define("footer", '- eternalwinter -
Est. Oct 12, 2025
'); define("categories", array( "blog" => "Blog", diff --git a/submit.php b/submit.php index dcb5659..95c775d 100755 --- a/submit.php +++ b/submit.php @@ -64,7 +64,9 @@ if ($_SERVER["REQUEST_METHOD"] == "POST") { require 'common.php'; if (submitSite($name, $url, $summary, $category)) { session_destroy(); - echo("" . constant("sitename") . " | Success

Your site was submitted. Click here to go back to the homepage.

"); + echo(""); + head(); + echo("

Your site was submitted. Click here to go back to the homepage.

"); die(); } else { echo("Error");