HEX
Server: Apache
System: Linux scp1.abinfocom.com 5.4.0-216-generic #236-Ubuntu SMP Fri Apr 11 19:53:21 UTC 2025 x86_64
User: confeduphaar (1010)
PHP: 8.1.33
Disabled: exec,passthru,shell_exec,system
Upload Files
File: /home/confeduphaar/backip-old-files/administrator/components/com_acym/partial/forms/recaptcha.php
<?php
defined('_JEXEC') or die('Restricted access');
?><?php

$currentUserEmail = acym_currentUserEmail();
$userClass = acym_get('class.user');
$identifiedUser = $userClass->getOneByEmail($currentUserEmail);
$config = acym_config();

if (empty($identifiedUser) && $config->get('captcha', '') == 1) {
    echo '<div class="onefield fieldacycaptcha" id="field_captcha_'.$form->form_tag_name.'">';
    $captcha = acym_get('helper.captcha');
    echo $captcha->display($form->form_tag_name);
    echo '</div>';
}