summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorlolcat <will@lolcat.ca>2023-10-16 11:14:39 -0400
committerlolcat <will@lolcat.ca>2023-10-16 11:14:39 -0400
commitf67fadfa885c048aac42d9a703be6277f2987d29 (patch)
tree4c586e25c39eb3ce48b50cad319db622aa521b55
parentf3ff1f7374d8fecbb266b36031b8a22e32a8ef00 (diff)
as usual, forgot the fucking .php
-rw-r--r--lib/captcha_gen.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/captcha_gen.php b/lib/captcha_gen.php
index 2ae824b..bb3456d 100644
--- a/lib/captcha_gen.php
+++ b/lib/captcha_gen.php
@@ -269,7 +269,7 @@ class captcha{
'<form method="POST" enctype="text/plain" autocomplete="off">' .
'<div class="captcha-wrapper">' .
'<div class="captcha">' .
- '<img src="captcha.php?k=' . $key . '" alt="Captcha image">' .
+ '<img src="captcha?k=' . $key . '" alt="Captcha image">' .
'<div class="captcha-controls">' .
'<input type="checkbox" name="c[0]" id="c0">' .
'<label for="c0"></label>' .
@@ -316,7 +316,7 @@ class captcha{
$frontend->loadheader(
$get,
$filters,
- "web"
+ $page
);
echo $frontend->load("search.html", $payload);