Skip to content

Commit

Permalink
update on few small issues
Browse files Browse the repository at this point in the history
  • Loading branch information
iruzevic committed May 8, 2024
1 parent 738f197 commit 2aeec63
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/Init/theme/functions.php
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,9 @@
* Include the autoloader so we can dynamically include the rest of the classes.
*/
$loader = require __DIR__ . '/vendor/autoload.php';
require __DIR__ . '/vendor-prefixed/autoload.php';
if (\file_exists( __DIR__ . '/vendor-prefixed/autoload.php')) {
require __DIR__ . '/vendor-prefixed/autoload.php';
}

/**
* Set all the cache for the theme.
Expand Down

0 comments on commit 2aeec63

Please sign in to comment.