diff --git a/src/Registry/ElementRegistry.php b/src/Registry/ElementRegistry.php index 1d1b6ed..26e43e4 100644 --- a/src/Registry/ElementRegistry.php +++ b/src/Registry/ElementRegistry.php @@ -25,7 +25,7 @@ final class ElementRegistry final private function __construct() { // Initialize the registry with all the elements we know - $classesDir = dirname(__FILE__, 3) . '/vendor/simplesamlphp/composer-xmlprovider-installer/classes'; + $classesDir = dirname(__FILE__, 6) . '/vendor/simplesamlphp/composer-xmlprovider-installer/classes'; if (file_exists($classesDir) === true) { $finder = Finder::create()->files()->name('element.registry.*.php')->in($classesDir);