Rebuilding with CodeIgniter 4

This commit is contained in:
Timothy Rogers 2020-07-27 22:22:06 -04:00
parent e6dcc92267
commit 3bce4ad0ac
92 changed files with 7304 additions and 380 deletions

42
app/Config/Honeypot.php Normal file
View file

@ -0,0 +1,42 @@
<?php namespace Config;
use CodeIgniter\Config\BaseConfig;
class Honeypot extends BaseConfig
{
/**
* Makes Honeypot visible or not to human
*
* @var boolean
*/
public $hidden = true;
/**
* Honeypot Label Content
*
* @var string
*/
public $label = 'Fill This Field';
/**
* Honeypot Field Name
*
* @var string
*/
public $name = 'honeypot';
/**
* Honeypot HTML Template
*
* @var string
*/
public $template = '<label>{label}</label><input type="text" name="{name}" value=""/>';
/**
* Honeypot container
*
* @var string
*/
public $container = '<div style="display:none">{template}</div>';
}