Add missing file path when cache miss in auto_loader (#7339)
This commit is contained in:
parent
7fe291dfcf
commit
00c6befb70
|
|
@ -134,6 +134,7 @@ class auto_loader {
|
||||||
$search_path[] = glob($project_path . "/*/*/resources/interfaces/" . $class_name . ".php");
|
$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/traits/" . $class_name . ".php");
|
||||||
$search_path[] = glob($project_path . "/*/*/resources/classes/" . $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
|
//collapse all entries to only the matched entry
|
||||||
$matches = array_filter($search_path);
|
$matches = array_filter($search_path);
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue