summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorlolcat <will@lolcat.ca>2024-02-18 19:08:22 -0500
committerlolcat <will@lolcat.ca>2024-02-18 19:08:22 -0500
commitb7f58a142120964405d27806d1c3c9582f4f75e5 (patch)
treeb95354f54584e9e9f74057a454aa589e418710d9
parent9ba92d832e02d539804ca61a08426640d48d2f36 (diff)
is this thing on
-rw-r--r--audio/sc.php1
-rw-r--r--lib/bot_protection.php2
-rw-r--r--template/images.html2
3 files changed, 3 insertions, 2 deletions
diff --git a/audio/sc.php b/audio/sc.php
index 53d8164..6dfe66e 100644
--- a/audio/sc.php
+++ b/audio/sc.php
@@ -6,6 +6,7 @@ class sc_audio{
public function __construct(){
+ include "../data/config.php";
include "../lib/curlproxy.php";
$this->proxy = new proxy();
diff --git a/lib/bot_protection.php b/lib/bot_protection.php
index 82de54c..e3d51a8 100644
--- a/lib/bot_protection.php
+++ b/lib/bot_protection.php
@@ -203,7 +203,7 @@ class bot_protection{
'<form method="POST" enctype="text/plain" autocomplete="off">' .
'<div class="captcha-wrapper">' .
'<div class="captcha">' .
- '<img src="captcha.php?v=' . $key . '" alt="Captcha image">' .
+ '<img src="captcha?v=' . $key . '" alt="Captcha image">' .
'<div class="captcha-controls">' .
'<input type="checkbox" name="c[0]" id="c0">' .
'<label for="c0"></label>' .
diff --git a/template/images.html b/template/images.html
index 647ec3d..f8c8d26 100644
--- a/template/images.html
+++ b/template/images.html
@@ -1,4 +1,4 @@
- Took {%timetaken%}
+ {%timetaken%}
<div id="images">
{%images%}
</div>