Skip to content
Snippets Groups Projects
Commit e87b4de4 authored by Lasse Birnbaum Jensen's avatar Lasse Birnbaum Jensen
Browse files

fixed static cert path to $config->getPathValue('certdir')

git-svn-id: https://simplesamlphp.googlecode.com/svn/trunk@665 44740490-163a-0410-bde0-09ae8108e29a
parent 555f67ec
No related branches found
No related tags found
No related merge requests found
...@@ -25,7 +25,7 @@ try { ...@@ -25,7 +25,7 @@ try {
$idpmeta = isset($_GET['idpentityid']) ? $_GET['idpentityid'] : $metadata->getMetaDataCurrent('saml20-idp-hosted'); $idpmeta = isset($_GET['idpentityid']) ? $_GET['idpentityid'] : $metadata->getMetaDataCurrent('saml20-idp-hosted');
$idpentityid = isset($_GET['idpentityid']) ? $_GET['idpentityid'] : $metadata->getMetaDataCurrentEntityID('saml20-idp-hosted'); $idpentityid = isset($_GET['idpentityid']) ? $_GET['idpentityid'] : $metadata->getMetaDataCurrentEntityID('saml20-idp-hosted');
$publiccert = $config->getBaseDir() . '/cert/' . $idpmeta['certificate']; $publiccert = $config->getPathValue('certdir') . $idpmeta['certificate'];
if (!file_exists($publiccert)) if (!file_exists($publiccert))
throw new Exception('Could not find certificate [' . $publiccert . '] to attach to the authentication resposne'); throw new Exception('Could not find certificate [' . $publiccert . '] to attach to the authentication resposne');
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment