Skip to content
Snippets Groups Projects
Commit 5be60314 authored by Pete Akins's avatar Pete Akins Committed by Jaime Perez Crespo
Browse files

PDO scripts should use SimpleSAML\Utils\Config::getConfigDir() to resolve config dir

parent 08e0f9b2
No related branches found
No related tags found
No related merge requests found
......@@ -2,7 +2,7 @@
$baseDir = dirname(dirname(__FILE__));
require_once $baseDir . DIRECTORY_SEPARATOR . 'lib' . DIRECTORY_SEPARATOR . '_autoload.php';
require_once $baseDir . DIRECTORY_SEPARATOR . 'config' . DIRECTORY_SEPARATOR . 'config.php';
require_once SimpleSAML\Utils\Config::getConfigDir(). DIRECTORY_SEPARATOR . 'config.php';
# Iterate through configured metadata sources and ensure
# that a PDO source exists.
......
......@@ -6,7 +6,7 @@ $baseDir = dirname(dirname(__FILE__));
// Add library autoloader and configuration
require_once $baseDir . DIRECTORY_SEPARATOR . 'lib' . DIRECTORY_SEPARATOR . '_autoload.php';
require_once $baseDir . DIRECTORY_SEPARATOR . 'config' . DIRECTORY_SEPARATOR . 'config.php';
require_once SimpleSAML\Utils\Config::getConfigDir(). DIRECTORY_SEPARATOR . 'config.php';
echo "Initializing Metadata Database...". PHP_EOL;
......
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