mirror of
https://code.castopod.org/adaures/castopod.git
synced 2024-08-20 08:03:22 +02:00
- remove delete_at field + soft delete for media and pages - update CodeIgniter4 to 4.2.0 + update all starter files - explicitly use builder() when creating queries from model
33 lines
965 B
PHP
33 lines
965 B
PHP
<?php
|
|
|
|
declare(strict_types=1);
|
|
|
|
namespace Config;
|
|
|
|
use CodeIgniter\Config\BaseConfig;
|
|
|
|
/**
|
|
* Enable/disable backward compatibility breaking features.
|
|
*/
|
|
class Feature extends BaseConfig
|
|
{
|
|
/**
|
|
* Enable multiple filters for a route or not.
|
|
*
|
|
* If you enable this:
|
|
* - CodeIgniter\CodeIgniter::handleRequest() uses:
|
|
* - CodeIgniter\Filters\Filters::enableFilters(), instead of enableFilter()
|
|
* - CodeIgniter\CodeIgniter::tryToRouteIt() uses:
|
|
* - CodeIgniter\Router\Router::getFilters(), instead of getFilter()
|
|
* - CodeIgniter\Router\Router::handle() uses:
|
|
* - property $filtersInfo, instead of $filterInfo
|
|
* - CodeIgniter\Router\RouteCollection::getFiltersForRoute(), instead of getFilterForRoute()
|
|
*/
|
|
public bool $multipleFilters = false;
|
|
|
|
/**
|
|
* Use improved new auto routing instead of the default legacy version.
|
|
*/
|
|
public bool $autoRoutesImproved = false;
|
|
}
|