25개 이상의 토픽을 선택하실 수 없습니다. Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

Feature.php 958B

1234567891011121314151617181920212223242526272829303132
  1. <?php
  2. namespace Config;
  3. use CodeIgniter\Config\BaseConfig;
  4. /**
  5. * Enable/disable backward compatibility breaking features.
  6. */
  7. class Feature extends BaseConfig
  8. {
  9. /**
  10. * Enable multiple filters for a route or not.
  11. *
  12. * If you enable this:
  13. * - CodeIgniter\CodeIgniter::handleRequest() uses:
  14. * - CodeIgniter\Filters\Filters::enableFilters(), instead of enableFilter()
  15. * - CodeIgniter\CodeIgniter::tryToRouteIt() uses:
  16. * - CodeIgniter\Router\Router::getFilters(), instead of getFilter()
  17. * - CodeIgniter\Router\Router::handle() uses:
  18. * - property $filtersInfo, instead of $filterInfo
  19. * - CodeIgniter\Router\RouteCollection::getFiltersForRoute(), instead of getFilterForRoute()
  20. *
  21. * @var bool
  22. */
  23. public $multipleFilters = false;
  24. /**
  25. * Use improved new auto routing instead of the default legacy version.
  26. */
  27. public bool $autoRoutesImproved = false;
  28. }