Update the cache after loading classes array

This commit is contained in:
FusionPBX 2025-02-13 15:05:27 -07:00 committed by GitHub
parent bd5002ca32
commit c4aa9e9b02
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 3 additions and 0 deletions

View File

@ -105,6 +105,9 @@ class auto_loader {
foreach ($search_path as $path) {
$this->classes[basename($path, '.php')] = $path;
}
//update the cache after loading classes array
$this->update_cache();
}
private function loader($class_name) : bool {