* fix new lines in ax83h template
phone does not provision without the extra lines
* fix new lines in ax86r template
phone does not provision without the extra lines
* Update Groundwire template
Voicemail number was not properly named and would not provision. & was needed under wsContactsURL to validate the xml. Opening it gave an error stating:
This page contains the following errors:
error on line 14 at column 119: EntityRef: expecting ';'
Below is a rendering of the page up to the first error.
* Update Groundwire template
Had one too many & under wsContactsUrl line
* Updated Cisco 8000 series templates for KEM button compatibility.
Updated the Cisco 8000 series Key Expansion Module format in the templates to improve editing and provisioning button changes, with the label correctly set to the KEM.
Set max KEM Units to 2 ( Phones Maximum )
- Change the label to Database Schema
- Update the description to say tables, columns and data types
- upgrade.php --schema
- Includes data types by default
- Remove --types from upgrade.php
- command line upgrade --interactive
- Option 2 schema
- Includes data types by default
Using the APCu cache within the text class adds a significant speed boost. In testing, the load time of the text class was about 7% of the total load time on the page. After implementing caching, the load time for the text class dropped to just 0.17% of the total time for the page to load. When APCu caching is not available, the class will cache it directly dropping it from 7% to just 2.3% of the total script load time.
This pull request fixes an error when the settings object is assigned to a singular variable of `$setting` instead of `$settings`. This makes the included files run potentially the wrong domain name.
Optimize the `upgrade()` method of the `domains.php` to reduce filesystem operations.
This function was used before we started using paramaterized queries. So a better way has been in use for many years time to deprecate and remove the check_sql function.
* First attempt for PHPDoc blocks for all functions in functions.php
PHPDoc Blocks created for all functions.
Old functions removed where PHP 7 was required for the function to exist:
- random_bytes
- random_in
- hash_equals
- mb_strtoupper
* Update functions.php
---------
Co-authored-by: FusionPBX <markjcrane@gmail.com>