From 7ded823b5cbfd157e9fffc38e61dc41ff8d3bdb3 Mon Sep 17 00:00:00 2001 From: Pinga <121483313+getpinga@users.noreply.github.com> Date: Fri, 11 Aug 2023 17:59:46 +0300 Subject: [PATCH] Small Web Whois update --- whois/web/checkWhois.php | 5 ++++- whois/web/index.php | 5 ++--- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/whois/web/checkWhois.php b/whois/web/checkWhois.php index 5f47ed9..7235fc6 100644 --- a/whois/web/checkWhois.php +++ b/whois/web/checkWhois.php @@ -1,4 +1,7 @@ 'Incorrect Captcha.']); exit; } diff --git a/whois/web/index.php b/whois/web/index.php index 3faed9a..eb3b276 100644 --- a/whois/web/index.php +++ b/whois/web/index.php @@ -3,10 +3,9 @@ require 'vendor/autoload.php'; use Gregwar\Captcha\CaptchaBuilder; -session_start(); - -$builder = new CaptchaBuilder; +$builder = new CaptchaBuilder(); $builder->build(); +session_start(); $_SESSION['captcha'] = $builder->getPhrase(); ?>