mirror of
https://code.castopod.org/adaures/castopod.git
synced 2024-09-30 21:51:15 +02:00
f3b2c8b84f
- add james-heinrich/getid3 library as a dependency to composer.json - update DEPENDENCIES.md file - fix episodes table migration script - add js devDependencies: prettier, @prettier/plugin-php and lint-staged to automatically format staged files before commit - reformat all files to the prettier format - refactor code by separating some logic as helper functions - overwrite existing files when uploading new files with the same name fixes #1
34 lines
592 B
PHP
34 lines
592 B
PHP
<?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=""/>';
|
|
}
|