mirror of
https://github.com/opensourcepos/opensourcepos.git
synced 2025-12-24 01:57:51 -05:00
* Replace tabs with spaces Signed-off-by: objecttothis <objecttothis@gmail.com> * Composer package bumps - Bump codeigniter4/framework to 4.6.0 - Bump codeIgniter/coding-standard to ^1.8 - Bump codeigniter4/devkit to ^1.3 - Updated framework files required by CI4.6.0 - Removed Deprecated variables - Added new file in the repo from framework Signed-off-by: objecttothis <objecttothis@gmail.com> * Reflect PHP 8.4 support Updates for PHP 8.4 support introduced with the upgrade to CodeIgniter 4.6.x * Update INSTALL.md - Revert PHP 8.4 support for now. - Removed extra space before comma --------- Signed-off-by: objecttothis <objecttothis@gmail.com> Co-authored-by: BudsieBuds <bas_hubers@hotmail.com>
38 lines
1.0 KiB
PHP
38 lines
1.0 KiB
PHP
<?php
|
|
|
|
namespace Config;
|
|
|
|
use CodeIgniter\Config\BaseConfig;
|
|
|
|
/**
|
|
* Enable/disable backward compatibility breaking features.
|
|
*/
|
|
class Feature extends BaseConfig
|
|
{
|
|
/**
|
|
* Use improved new auto routing instead of the legacy version.
|
|
*/
|
|
public bool $autoRoutesImproved = true;
|
|
|
|
/**
|
|
* Use filter execution order in 4.4 or before.
|
|
*/
|
|
public bool $oldFilterOrder = false;
|
|
|
|
/**
|
|
* The behavior of `limit(0)` in Query Builder.
|
|
*
|
|
* If true, `limit(0)` returns all records. (the behavior of 4.4.x or before in version 4.x.)
|
|
* If false, `limit(0)` returns no records. (the behavior of 3.1.9 or later in version 3.x.)
|
|
*/
|
|
public bool $limitZeroAsAll = true;
|
|
|
|
/**
|
|
* Use strict location negotiation.
|
|
*
|
|
* By default, the locale is selected based on a loose comparison of the language code (ISO 639-1)
|
|
* Enabling strict comparison will also consider the region code (ISO 3166-1 alpha-2).
|
|
*/
|
|
public bool $strictLocaleNegotiation = false;
|
|
}
|