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

- add node service in docker-compose.yml - update .devcontainer Dockerfile by adding node, npm and vim - init package.json for npm with tailwindcss, postcss, commitlint and commitizen as dev dependencies - update default layout main header and footer - replace CI's welcome_message.php with home.php listing all podcasts - add AUTHORS.md file - add docs folder in which to place castopod's technical documentation
37 lines
883 B
PHP
37 lines
883 B
PHP
<?php namespace Config;
|
|
|
|
use CodeIgniter\Config\BaseConfig;
|
|
|
|
class Filters extends BaseConfig
|
|
{
|
|
// Makes reading things below nicer,
|
|
// and simpler to change out script that's used.
|
|
public $aliases = [
|
|
'csrf' => \CodeIgniter\Filters\CSRF::class,
|
|
'toolbar' => \CodeIgniter\Filters\DebugToolbar::class,
|
|
'honeypot' => \CodeIgniter\Filters\Honeypot::class,
|
|
];
|
|
|
|
// Always applied before every request
|
|
public $globals = [
|
|
'before' => [
|
|
//'honeypot'
|
|
// 'csrf',
|
|
],
|
|
'after' => [
|
|
'toolbar',
|
|
//'honeypot'
|
|
],
|
|
];
|
|
|
|
// Works on all of a particular HTTP method
|
|
// (GET, POST, etc) as BEFORE filters only
|
|
// like: 'post' => ['CSRF', 'throttle'],
|
|
public $methods = [];
|
|
|
|
// List filter aliases and any before/after uri patterns
|
|
// that they should run on, like:
|
|
// 'isLoggedIn' => ['before' => ['account/*', 'profiles/*']],
|
|
public $filters = [];
|
|
}
|