Skip to content
Snippets Groups Projects
Unverified Commit 7458ecf2 authored by Tim van Dijen's avatar Tim van Dijen Committed by GitHub
Browse files

Bugfix: properly build schema path

This used to be like this, but got changed in 67dc1b15, which seems like an accidental action?
This takes care of #894
parent 9f806380
No related branches found
No related tags found
No related merge requests found
...@@ -432,8 +432,7 @@ class XML ...@@ -432,8 +432,7 @@ class XML
$config = \SimpleSAML\Configuration::getInstance(); $config = \SimpleSAML\Configuration::getInstance();
/** @var string $schemaPath */ /** @var string $schemaPath */
$schemaPath = $config->resolvePath('schemas'); $schemaPath = $config->resolvePath('schemas');
$schemaPath .= './'; $schemaFile = $schemaPath.'/'.$schema;
$schemaFile = $schemaPath.$schema;
$res = $dom->schemaValidate($schemaFile); $res = $dom->schemaValidate($schemaFile);
if ($res) { if ($res) {
......
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