summaryrefslogtreecommitdiff
path: root/api/v1/images.php
diff options
context:
space:
mode:
Diffstat (limited to 'api/v1/images.php')
-rw-r--r--api/v1/images.php6
1 files changed, 6 insertions, 0 deletions
diff --git a/api/v1/images.php b/api/v1/images.php
index 694658e..474e2dd 100644
--- a/api/v1/images.php
+++ b/api/v1/images.php
@@ -7,6 +7,12 @@ chdir("../../");
include "lib/frontend.php";
$frontend = new frontend();
+/*
+ Captcha
+*/
+include "lib/captcha_gen.php";
+new captcha($frontend, false);
+
[$scraper, $filters] = $frontend->getscraperfilters(
"images",
isset($_GET["scraper"]) ? $_GET["scraper"] : null