mirror of
https://github.com/fusionpbx/fusionpbx.git
synced 2026-01-06 11:43:50 +00:00
update auto_loader cache file when updating (#7255)
This commit is contained in:
@@ -177,6 +177,11 @@
|
||||
exit();
|
||||
}
|
||||
|
||||
//always update the auto_loader cache just-in-case the source files have updated
|
||||
$auto_loader = new auto_loader();
|
||||
$auto_loader->reload_classes();
|
||||
$auto_loader->update_cache();
|
||||
|
||||
//get the version of the software
|
||||
if ($upgrade_type == 'version') {
|
||||
echo software::version()."\n";
|
||||
|
||||
Reference in New Issue
Block a user