5 require_once
$baseDir.DIRECTORY_SEPARATOR.
'lib'.DIRECTORY_SEPARATOR.
'_autoload.php';
6 require_once SimpleSAML\Utils\Config::getConfigDir().DIRECTORY_SEPARATOR.
'config.php';
8 # Iterate through configured metadata sources and ensure 9 # that a PDO source exists. 10 foreach (
$config[
'metadata.sources'] as
$s) {
11 # If pdo is configured, create the new handler and add in the metadata sets. 12 if ($s[
'type'] ===
"pdo") {
14 $mdshp->initDatabase();
16 foreach (glob(
"metadata/*.php") as
$filename) {
19 $set = basename($filename,
".php");
20 echo
"importing set '$set'...".PHP_EOL;
24 $mdshp->addEntry($k, $set, $v);
$metadata['__DYNAMIC:1__']
Create styles array
The data for the language used.