Просмотр исходного кода

as usual, forgot the fucking .php

lolcat 2 лет назад
Родитель
Сommit
f67fadfa88
1 измененных файлов с 2 добавлено и 2 удалено
  1. 2 2
      lib/captcha_gen.php

+ 2 - 2
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);