diff --git a/.gitignore b/.gitignore index 0bc7dad..23d26c1 100644 --- a/.gitignore +++ b/.gitignore @@ -2,4 +2,4 @@ #* *.secret *.db - +*.ttf diff --git a/README.md b/README.md index d4cc7d4..b8c0088 100755 --- a/README.md +++ b/README.md @@ -6,6 +6,7 @@ Needs php imagemagick & sqlite modules. * `mkdir secrets` * Make sure the directory is writable by the web server. `chown -R www-data:www-data EternalWinter` * Run `./password.sh ` to generate the moderation password's hash. +* Put a ttf font in the directory and name it `captchafont.ttf` * Edit `config.php` to customize. * To moderate, visit a url and add `?manage=` to the end of the url IMPORTANT: You need to add a line to your server configuration to block `/secrets/` since it contains sensitive data like the database and your password hash. diff --git a/attribution.md b/attribution.md index ef2a0b9..fe6d4bb 100644 --- a/attribution.md +++ b/attribution.md @@ -1,4 +1 @@ -/css/img/bg.png: https://commons.wikimedia.org/wiki/File:Snowflake11_2.png -Captcha font: -https://www.gnu.org/software/freefont/ diff --git a/captchafont.ttf b/captchafont.ttf deleted file mode 100644 index 4815449..0000000 Binary files a/captchafont.ttf and /dev/null differ diff --git a/submit.php b/submit.php index 1973ca9..25ae2ab 100755 --- a/submit.php +++ b/submit.php @@ -64,7 +64,7 @@ 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("SiteShare | Success

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

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