mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
Update to Composer 2 (#12263)
* Update to Composer 2 No need to roll our own checks anymore since this is now built in. Also limit the update check to once a week. * update * Make Composer wrapper report correct exit code * Update composer_wrapper.php * re-enable extension check Co-authored-by: Tony Murray <murraytony@gmail.com>
This commit is contained in:
@@ -1,22 +0,0 @@
|
||||
<?php
|
||||
|
||||
define('LARAVEL_START', microtime(true));
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Register The Composer Auto Loader
|
||||
|--------------------------------------------------------------------------
|
||||
|
|
||||
| Composer provides a convenient, automatically generated class loader
|
||||
| for our application. We just need to utilize it! We'll require it
|
||||
| into the script here so we do not have to manually load any of
|
||||
| our application's PHP classes. It just feels great to relax.
|
||||
|
|
||||
*/
|
||||
|
||||
@require_once __DIR__ . '/../app/Checks.php';
|
||||
\App\Checks::preAutoload();
|
||||
|
||||
@include __DIR__ . '/../vendor/autoload.php';
|
||||
|
||||
\App\Checks::postAutoload();
|
Reference in New Issue
Block a user