add missing file path when cache miss in auto_loader

This commit is contained in:
Tim Fry 2025-03-27 15:50:11 -03:00
parent 5f7ef8848e
commit cb4adeb207
1 changed files with 1 additions and 0 deletions

View File

@ -134,6 +134,7 @@ class auto_loader {
$search_path[] = glob($project_path . "/*/*/resources/interfaces/" . $class_name . ".php");
$search_path[] = glob($project_path . "/*/*/resources/traits/" . $class_name . ".php");
$search_path[] = glob($project_path . "/*/*/resources/classes/" . $class_name . ".php");
$search_path[] = glob($project_path . "/core/authentication/resources/classes/plugins/" . $class_name . ".php");
//collapse all entries to only the matched entry
$matches = array_filter($search_path);