| 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/new-saint-martin/plugins/captcha/recaptcha_v3/services/ |
Upload File : |
<?php
/**
* @copyright (C) 2023 SharkyKZ
* @license GPL-3.0-or-later
*/
defined('_JEXEC') || exit;
use Joomla\CMS\Extension\PluginInterface;
use Joomla\CMS\Factory;
use Joomla\CMS\Plugin\PluginHelper;
use Joomla\DI\Container;
use Joomla\DI\ServiceProviderInterface;
use Joomla\Http\HttpFactory;
use Joomla\Registry\Registry;
use Sharky\Plugin\Captcha\RecaptchaV3\Plugin;
return new class implements ServiceProviderInterface
{
public function register(Container $container): void
{
$container->share(
PluginInterface::class,
static function ()
{
return new Plugin(
Factory::getApplication(),
new Registry(PluginHelper::getPlugin('captcha', 'recaptcha_v3')->params ?? null),
new HttpFactory
);
}
);
}
};