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 a186431 commit d440771Copy full SHA for d440771
lib/Saml2/Auth.php
@@ -181,6 +181,17 @@ public function setStrict($value)
181
$this->_settings->setStrict($value);
182
}
183
184
+ /**
185
+ * Set schemas path
186
+ *
187
+ * @param string $path
188
+ * @return $this
189
+ */
190
+ public function setSchemasPath($path)
191
+ {
192
+ $this->_paths['schemas'] = $path;
193
+ }
194
+
195
/**
196
* Process the SAML Response sent by the IdP.
197
*
lib/Saml2/Settings.php
@@ -229,7 +229,7 @@ public function getSchemasPath()
229
if (isset($this->_paths['schemas'])) {
230
return $this->_paths['schemas'];
231
232
- return $this->_paths['lib'].'schemas/';
+ return __DIR__ . '/schemas/';
233
234
235
0 commit comments