mirror of
https://github.com/fusionpbx/fusionpbx.git
synced 2026-01-06 11:43:50 +00:00
Update the cache after loading classes array
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user