X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;f=CRM%2FExtension%2FSystem.php;h=3d531807fc6c2bb35f7bde01b76352cdd412a4c4;hb=4278b952d40683324613b2b09a6036a56d9d5017;hp=6317cd9f811408a21efdc896f5e59cedff5758a0;hpb=bed50ef73003aa456ef2672c6bc42b432bdc2279;p=civicrm-core.git diff --git a/CRM/Extension/System.php b/CRM/Extension/System.php index 6317cd9f81..3d531807fc 100644 --- a/CRM/Extension/System.php +++ b/CRM/Extension/System.php @@ -1,9 +1,9 @@ userSystem->cmsRootPath(); + if (NULL !== $cmsRootPath) { + $vendorPath = $cmsRootPath . DIRECTORY_SEPARATOR . 'vendor'; + if (is_dir($vendorPath)) { + $containers['cmsvendor'] = new CRM_Extension_Container_Basic($vendorPath, $config->userFrameworkBaseURL . DIRECTORY_SEPARATOR . 'vendor', $this->getCache(), 'cmsvendor'); + } + } + $this->fullContainer = new CRM_Extension_Container_Collection($containers, $this->getCache(), 'full'); } return $this->fullContainer;