Skip to content

Commit

Permalink
fix: fix detection of package development instance
Browse files Browse the repository at this point in the history
  • Loading branch information
SlimDeluxe committed Feb 3, 2024
1 parent 769ed1f commit 0b3301c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion public/index.php
Original file line number Diff line number Diff line change
Expand Up @@ -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';
Expand Down

0 comments on commit 0b3301c

Please sign in to comment.