We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4ce0a7f commit f9dd2fcCopy full SHA for f9dd2fc
layers/bootstrap.php
@@ -1,10 +1,10 @@
1
<?php declare(strict_types=1);
2
3
+$appRoot = getenv('LAMBDA_TASK_ROOT');
4
+
5
if (getenv('BREF_AUTOLOAD_PATH')) {
6
require getenv('BREF_AUTOLOAD_PATH');
-} else {
- $appRoot = getenv('LAMBDA_TASK_ROOT');
7
-
+} elseif (file_exists($appRoot . '/vendor/autoload.php')) {
8
require $appRoot . '/vendor/autoload.php';
9
}
10
0 commit comments