Commit Graph

12 Commits

Author SHA1 Message Date
frytimo
5e6ec475df update auto_loader cache file when updating (#7255) 2025-02-15 10:44:46 -07:00
FusionPBX
c4aa9e9b02 Update the cache after loading classes array 2025-02-13 15:05:27 -07:00
frytimo
0931197137 build array in auto_loader constructor (#7158)
* 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
2025-02-13 14:48:40 -07:00
frytimo
5fda9b2dda allow auto_loader to search in traits directories (#7005)
Co-authored-by: Tim Fry <tim@fusionpbx.com>
2024-06-11 10:17:02 -06:00
frytimo
aeee90d56e update auto_loader to use magic dir constant (#6963) 2024-04-26 13:49:56 -06:00
FusionPBX
63d215192d Use an array in auto_loader
- Added a search for interfaces
- Updated the indentation
2024-03-21 10:33:05 -06:00
fusionate
6d4463a5b7 Auto Loader [Class]: Updates for PHP 8.1 2023-05-10 22:39:48 +00:00
fusionate
4de76b44f2 Auto Loader [Class]: Updates for PHP 8.1 2023-05-10 22:37:47 +00:00
FusionPBX
edb12399ce Add not empty debug 2023-05-08 17:21:52 -06:00
frytimo
2bdf0d382e add isset($_REQUEST['debug']) before testing value for true (#6486)
Co-authored-by: Tim Fry <tim@voipstratus.com>
2022-10-19 11:49:31 -06:00
FusionPBX
ad3a4825a1 Use a log prefix that makes more sense. 2022-06-01 18:57:33 -06:00
FusionPBX
91f2721925 Create auto_loader.php 2021-11-26 13:11:20 -07:00