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");