We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8ac9679 commit ab06f5fCopy full SHA for ab06f5f
2 files changed
src/Saml2/Auth.php
@@ -206,6 +206,17 @@ public function setStrict($value)
206
$this->_settings->setStrict($value);
207
}
208
209
+ /**
210
+ * Set schemas path
211
+ *
212
+ * @param string $path
213
+ * @return $this
214
+ */
215
+ public function setSchemasPath($path)
216
+ {
217
+ $this->_paths['schemas'] = $path;
218
+ }
219
+
220
/**
221
* Process the SAML Response sent by the IdP.
222
*
src/Saml2/Settings.php
@@ -223,7 +223,7 @@ public function getSchemasPath()
223
if (isset($this->_paths['schemas'])) {
224
return $this->_paths['schemas'];
225
226
- return $this->_paths['lib'].'schemas/';
+ return __DIR__ . '/schemas/';
227
228
229
0 commit comments