update auto_loader cache file when updating (#7255)

This commit is contained in:
frytimo
2025-02-15 13:44:46 -04:00
committed by GitHub
parent dc0f146485
commit 5e6ec475df
4 changed files with 71 additions and 25 deletions

View File

@@ -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";