diff options
-rw-r--r-- | audio/sc.php | 1 | ||||
-rw-r--r-- | lib/bot_protection.php | 2 | ||||
-rw-r--r-- | template/images.html | 2 |
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> |