Commit Graph

14 Commits

Author SHA1 Message Date
frytimo d919a3cc1b
Add the apcu caching ability for performance (#7276)
* add the apcu caching ability for performance
When the PHP extension APCu is loaded, the settings class and the auto_loader will cache their results across requests in RAM. For more information about the APCu extension visit the PHP page: https://www.php.net/apcu

* use global instead of default terminology
2025-02-25 17:21:41 -07:00
FusionPBX cd8d5302ac
Fix temporary permissions 2024-11-29 13:57:01 -07:00
FusionPBX c81e6482a8
Replace the empty function with isset
Don't use empty when value can be 0
2024-10-27 11:08:37 -06:00
FusionPBX 56c59289d4
Update boolean settings
Settings of type boolean need to be set as boolean.
2024-10-22 18:15:35 -06:00
FusionPBX 56aea7c66d
Domain settings array override default settings
Domain setting array types override the default settings set as type
2024-07-04 18:05:37 -06:00
frytimo 30b38e7d86
Add methods to handle device and add documentation (#6989) 2024-05-31 11:19:03 -06:00
FusionPBX f873ee7757
Update settings.php
Reverting mixed type until more people have migrated off of PHP 7.4
2024-03-04 09:35:17 -07:00
frytimo ebe12ef338
allow setting a default value (#6908) 2024-03-01 10:26:51 -07:00
fusionate ad86456b33
Prevent an error with array - in default_settings() method 2024-01-10 22:25:41 +00:00
FusionPBX bca1d8a573
Prevent an error with array
This is required for PHP 8.1 and higher. This is required for because PHP 8.1 introduced stricter type checking.
2024-01-10 15:08:20 -07:00
frytimo 9a982edc2e
update the settings set method to use params instead of array (#6804)
* update the settings set method to use params instead of array

* remove test code
2023-09-20 17:59:37 -06:00
FusionPBX 3f4c4702c5
Add set method to the settings class 2023-09-14 15:43:52 -06:00
FusionPBX e5f6c3067a
settings class use get and refine further 2023-09-14 12:28:38 -06:00
FusionPBX 0ec6ed696c
Create a new settings class 2023-09-13 09:46:52 -06:00