mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
Restore vendor contents even if composer is not available (#8223)
* Restore vendor contents even if composer is not available Leave the code in both places for safety. * Instruct users to use the wrapper instead of straight up composer...
This commit is contained in:
@@ -39,7 +39,7 @@ require_once $install_dir . '/includes/common.php';
|
||||
|
||||
# composer autoload
|
||||
if (!is_file($install_dir . '/vendor/autoload.php')) {
|
||||
c_echo("%RError: Missing dependencies%n, run: %Bcomposer install --no-dev%n\n\n");
|
||||
c_echo("%RError: Missing dependencies%n, run: %B./scripts/composer_wrapper.php install --no-dev%n\n\n");
|
||||
}
|
||||
require $install_dir . '/vendor/autoload.php';
|
||||
|
||||
|
Reference in New Issue
Block a user