Skip to content

Commit

Permalink
It's actually okay to re-require the autoloader
Browse files Browse the repository at this point in the history
  • Loading branch information
justinbeaty committed Oct 7, 2024
1 parent 2cbd30a commit 3fe4b8a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/Mage.php
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
/**
* Require Composer autoloader, make sure we enabled use-include-path
*/
$loader = require_once BP . '/vendor/autoload.php';
$loader = require BP . '/vendor/autoload.php';

if ($loader->getUseIncludePath() === false) {
die('Fatal error, please run: ./maho health-check');
Expand Down

0 comments on commit 3fe4b8a

Please sign in to comment.