* 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
* 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
* fix incorrect name on disk usage chart
* put correct information in disk usage for Linux and FreeBSD systems
* Update system_disk_usage.php
* Update system_disk_usage.php
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.
When an XML CDR record is zero bytes that is recorded in the /var/log/freeswitch/xml_cdr directory, the xml_cdr class would fail to move the file. This causes the record files to eventually build up to where the files can exceed the import limit. This adjustment moves the sanity checking for `filesize` to before the import attempt and checks for over limit and zero bytes. If those conditions match the file is moved to the "failed" folder.
* fix php warnings in the menu class
* remove an unreachable statement
* update the menu_horizontal function to use settings
* use a single text object
* update menu_side_state to use the default value of contracted
* remove unused variable
* use variables for menu_side_state
* remove unused variable
* remove whitespace
* remove unused variable
* check for user UUID and domain UUID passed to the constructor
* update docs
Use the singleton database object with database::new syntax
Pass the connected database object to the settings object so settings object does not have to create another connection