mirror of
https://code.castopod.org/adaures/castopod
synced 2025-04-23 01:01:20 +00:00

- add pages migration, model and entity - add page controllers - update routes config to input page forms and page view in public - fix markdow editor focus area - show pages links in public side footer closes #24
41 lines
1.1 KiB
PHP
41 lines
1.1 KiB
PHP
<?php
|
|
|
|
namespace Config;
|
|
|
|
class Validation
|
|
{
|
|
//--------------------------------------------------------------------
|
|
// Setup
|
|
//--------------------------------------------------------------------
|
|
|
|
/**
|
|
* Stores the classes that contain the
|
|
* rules that are available.
|
|
*
|
|
* @var array
|
|
*/
|
|
public $ruleSets = [
|
|
\CodeIgniter\Validation\Rules::class,
|
|
\CodeIgniter\Validation\FormatRules::class,
|
|
\CodeIgniter\Validation\FileRules::class,
|
|
\CodeIgniter\Validation\CreditCardRules::class,
|
|
\App\Validation\Rules::class,
|
|
\Myth\Auth\Authentication\Passwords\ValidationRules::class,
|
|
];
|
|
|
|
/**
|
|
* Specifies the views that are used to display the
|
|
* errors.
|
|
*
|
|
* @var array
|
|
*/
|
|
public $templates = [
|
|
'list' => 'CodeIgniter\Validation\Views\list',
|
|
'single' => 'CodeIgniter\Validation\Views\single',
|
|
];
|
|
|
|
//--------------------------------------------------------------------
|
|
// Rules
|
|
//--------------------------------------------------------------------
|
|
}
|