Update the cache after loading classes array
This commit is contained in:
parent
bd5002ca32
commit
c4aa9e9b02
|
|
@ -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 {
|
||||
|
|
|
|||
Loading…
Reference in New Issue