diff --git a/public/index.php b/public/index.php index 31dfbdd..d68c7c1 100644 --- a/public/index.php +++ b/public/index.php @@ -31,7 +31,7 @@ | */ -if (defined('ECLIPSE_PACKAGE_DEV') and ECLIPSE_PACKAGE_DEV) { +if ($_ENV['ECLIPSE_PACKAGE_DEV'] ?? false) { require '../../../../vendor/autoload.php'; } else { require __DIR__.'/../vendor/autoload.php';