瀏覽代碼

is this thing on

lolcat 2 年之前
父節點
當前提交
b7f58a1421
共有 3 個文件被更改,包括 3 次插入2 次删除
  1. 1 0
      audio/sc.php
  2. 1 1
      lib/bot_protection.php
  3. 1 1
      template/images.html

+ 1 - 0
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();
 		

+ 1 - 1
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>' .

+ 1 - 1
template/images.html

@@ -1,4 +1,4 @@
-		Took {%timetaken%}
+		{%timetaken%}
 		<div id="images">
 			{%images%}
 		</div>