Skip to content

Commit

Permalink
Fix path - asume being installed in the vendor-directory
Browse files Browse the repository at this point in the history
  • Loading branch information
tvdijen committed Sep 13, 2024
1 parent 8004746 commit e65ca17
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Registry/ElementRegistry.php
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit e65ca17

Please sign in to comment.