Skip to content
Snippets Groups Projects
Unverified Commit f57b7154 authored by alexarlord-boop's avatar alexarlord-boop Committed by GitHub
Browse files

Fix static call for non-static method in bin/importPdoMetadata.php (#1969)


* Fix static call for non-static method in bin/importPdoMetadata.php

* Revert "Fix static call for non-static method in bin/importPdoMetadata.php"

* Fix static call for non-static method in bin/importPdoMetadata.php

* Remove comment

---------

Co-authored-by: default avatarTim van Dijen <tvdijen@gmail.com>
parent 3fbfd11d
No related branches found
No related tags found
No related merge requests found
......@@ -4,9 +4,12 @@
declare(strict_types=1);
$baseDir = dirname(__FILE__, 2);
require_once $baseDir . DIRECTORY_SEPARATOR . 'src' . DIRECTORY_SEPARATOR . '_autoload.php';
require_once \SimpleSAML\Utils\Config::getConfigDir() . DIRECTORY_SEPARATOR . 'config.php';
// This is the config dir of the SimpleSAMLphp installation
$configDir = (new \SimpleSAML\Utils\Config())->getConfigDir();
require_once $configDir . DIRECTORY_SEPARATOR . 'config.php';
# Iterate through configured metadata sources and ensure
# that a PDO source exists.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment