* use boolean setting as true boolean
* Update settings class to use the php filter_var function for boolean
Using the built-in filter type for boolean seems like a better option as they are faster, already hardened, and more widely tested.
I found this better method used originally by Mark J. Crane in 2022 in the content.php page so I included it here.
* Update settings class to use the php filter_var function for boolean
Using the built-in filter type for boolean seems like a better option as they are faster, already hardened, and more widely tested.
I found this better method used originally by Mark J. Crane in 2022 in the content.php page so I included it here.
* 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
* multiple changes to the and for the yealink t58W
Added the variable for Bluetooth so that it won't be disabled every time the phone is provisioned.
Added what is needed for the wallpaper and firmware.
* Update app_config.php
* Added the Call Waiting Variable to the yealink config files
required for firmware .160 and newer
account.{$row.line_number}.sip_server.1.address
required for firmware .125 and older
account.{$row.line_number}.sip_server_host
* Build an array in the auto_loader constructor
* Update auto_loader.php
* Update auto_loader.php
* minor adjustment to name and comment and remove trailing closing tag
* use best practices for the loader method
Allowing the loader method:
- Should Never Be Called Manually
- Prevents External Modification
- Hides Implementation Details
* cache array in the temp folder and load if available
* re-organize functions within the class
* add cache recreation for auto_loader in upgrade_menu
* add cache recreation for auto_loader in upgrade_menu
* Update app_languages.php
* multiple changes to the and for the yealink t58W
Added the variable for Bluetooth so that it won't be disabled every time the phone is provisioned.
Added what is needed for the wallpaper and firmware.
When 'dev' or 'all' error level is set in the config.conf file, the menu will fail to expand or contract. This commit adds the missing variable causing a PHP warning responsible for the behavior.
* Add Algo 8103 and 8196 provision templates
* Added admin password setting to algo 8103 & 8196 templates. Also checked for existence of algo_timezone setting or set to New York time