mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
Fix validate error (#9700)
* Fix a couple install issues validate failing too early caused an class not found error return success in the db update output * revert db-update changes, for separate PR
This commit is contained in:
@@ -65,6 +65,10 @@ register_shutdown_function(function () {
|
|||||||
global $precheck_complete;
|
global $precheck_complete;
|
||||||
|
|
||||||
if (!$precheck_complete) {
|
if (!$precheck_complete) {
|
||||||
|
// use this in case composer autoloader isn't available
|
||||||
|
spl_autoload_register(function($class) {
|
||||||
|
include str_replace('\\', '/', $class) . '.php';
|
||||||
|
});
|
||||||
print_header(version_info());
|
print_header(version_info());
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
Reference in New Issue
Block a user