* remove class_exists wrapper for class definitions
* remove class_exists wrapper for class definitions
* remove class_exists wrapper for class definitions
* remove class_exists wrapper for class definitions
* remove class_exists wrapper for class definitions
* remove class_exists wrapper for class definitions
* remove class_exists wrapper for class definitions
* remove class_exists wrapper for class definitions
* remove class_exists wrapper for class definitions
* remove class_exists wrapper for class definitions
* remove class_exists wrapper for class definitions
* remove class_exists wrapper for class definitions
* remove class_exists wrapper for class definitions
* remove class_exists wrapper for class definitions
* remove class_exists wrapper for class definitions
* remove class_exists wrapper for class definitions
* remove class_exists wrapper for class definitions
* remove class_exists wrapper for class definitions
* remove class_exists wrapper for class definitions
* remove class_exists wrapper for class definitions
* remove class_exists wrapper for class definitions
* remove class_exists wrapper for class definitions
* remove class_exists wrapper for class definitions
* remove class_exists wrapper for class definitions
* remove class_exists wrapper for class definitions
* remove class_exists wrapper for class definitions
* remove class_exists wrapper for class definitions
* remove class_exists wrapper for class definitions
* remove class_exists wrapper for class definitions
* remove class_exists wrapper for class definitions
* remove class_exists wrapper for class definitions
* remove class_exists wrapper for class definitions
* remove class_exists wrapper for class definitions
* remove class_exists wrapper for class definitions
* remove class_exists wrapper for class definitions
* remove class_exists wrapper for class definitions
* remove class_exists wrapper for class definitions
* remove class_exists wrapper for class definitions
* remove class_exists wrapper for class definitions
* remove class_exists wrapper for class definitions
* remove class_exists wrapper for class definitions
* remove class_exists wrapper for class definitions
* remove class_exists wrapper for class definitions
* remove class_exists wrapper for class definitions
* remove class_exists wrapper for class definitions
* remove class_exists wrapper for class definitions
* remove class_exists wrapper for class definitions
* remove class_exists wrapper for class definitions
* remove class_exists wrapper for class definitions
* remove class_exists wrapper for class definitions
* remove class_exists wrapper for class definitions
* remove class_exists wrapper for class definitions
* remove class_exists wrapper for class definitions
* remove class_exists wrapper for class definitions
* remove class_exists wrapper for class definitions
* remove class_exists wrapper for class definitions
* remove class_exists wrapper for class definitions
* remove class_exists wrapper for class definitions
* remove class_exists wrapper for class definitions
* remove class_exists wrapper for class definitions
* remove class_exists wrapper for class definitions
* remove include statement of class file
* remove include statement of class file
* remove include statement of class file
* remove include statement of class file
* remove include statement of class file
* remove include statement of class file
* remove include statement of class file
* remove include statement of class file
* remove include statement of class file
* remove include statement of class file
* remove include statement of class file
* remove include statement of class file
* remove include statement of class file
* remove include statement of class file
* remove include statement of class file
* remove include statement of class file
* remove include statement of class file
* remove include statement of class file
* remove include statement of class file
* remove include statement of class file
* remove include statement of class file
* remove include statement of class file
* remove include statement of class file
* remove include statement of class file
* remove include statement of class file
* remove include statement of class file
* remove include statement of class file
* remove include statement of class file
* remove include statement of class file
* remove include statement of class file
* remove include statement of class file
* remove include statement of class file
* remove include statement of class file
* remove include statement of class file
* remove include statement of class file
* remove include statement of class file
* remove include statement of class file
* remove include statement of class file
* remove include statement of class file
* remove include statement of class file
* remove include statement of class file
* remove include statement of class file
* remove include statement of class file
* remove include statement of class file
* remove include statement of class file
* remove include statement of class file
* remove include statement of class file
* remove include statement of class file
* remove include statement of class file
* remove include statement of class file
* remove closing tag
* remove invalid method params
* remove closing tag
* remove closing tag
* Update auto_loader to load each class file in the project
Update the auto_loader class to use an include statement on each file in the project to load the class within the file. This will allow mismatched names within the file to be loaded and mapped according to the declaration instead of the filename. The class is then checked against the parsed classes from the PHP engine so that namespaces are available and mapped to the file they were declared in. An update was also made to the search algorithm used to find a file that was not already loaded by collapsing the array to have only valid matches to increase performance on a cache miss. Logging within the auto_loader has been moved to a function.
Multiple files were modified to allow the include statement. When the class has the `if(class_exists())` statement, the auto_loader is called to check for the class. This caused an infinite loop scenario so all wrappers have been removed. The auto_loader will now break the loop by directly modifying the internal classes array instead of trying to restart with the 'reload_classes' method.
- APCu is used to cache classes so any loading of the classes is done only once. To clear the APCu cache, restart php-fpm or call the auto_loader::clear_cache() function.
- Cache file is used when APCu is not available. To clear the cache remove it from the tmp folder or call the auto_loader::clear_cache() function.
- All classes must no longer have a class_exists wrapper to benefit from the performance boost.
- Classes should not be directly included when the auto_loader is used.
* remove include statement of class file
* Update destinations.php
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
RFC's do not specify addresses must be converted lower case by email servers. If a sender has set their "from" address set to a mixed case string, the fax send will not match the authorized senders. This corrects that by changing authorized senders list to lower case before the comparison is done.
Added some changes from ICR regarding the text/plain emails, added a
uuid to the file name when getting saved to the FS in the event that
multiple emails come in with the same exact file name and also reset
the tif_files in fax_send as it was just adding to the end of the array
and creating bad tiffcp commands.
Cause all the .php files containing lines ending with \r\n to instead end with \n.
DYI with:
find fusionpbx -type f -name '*.php' -exec dos2unix '{}' \;