Skip to content

Commit

Permalink
ClassLoader - Include mixin/lib/
Browse files Browse the repository at this point in the history
  • Loading branch information
totten committed Feb 27, 2024
1 parent ff885a6 commit 0ec7a4d
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions CRM/Core/ClassLoader.php
Original file line number Diff line number Diff line change
Expand Up @@ -138,6 +138,10 @@ public function register($prepend = FALSE) {
set_include_path($include_paths . PATH_SEPARATOR . get_include_path());
// @todo Why do we need to load this again?
$this->requireComposerAutoload();

$mixinLib = dirname(__DIR__, 2) . '/mixin/lib';
($GLOBALS['_PathLoad'][0] ?? require "$mixinLib/pathload-0.php");
require_once "$mixinLib/pathload.index.php";
}

/**
Expand Down

0 comments on commit 0ec7a4d

Please sign in to comment.