Skip to content
Snippets Groups Projects
Commit 085215d8 authored by Olav Morken's avatar Olav Morken
Browse files

openid/openidProvider: Fix load path for OpenID library.

Fixes issue 259.

git-svn-id: https://simplesamlphp.googlecode.com/svn/trunk@2128 44740490-163a-0410-bde0-09ae8108e29a
parent a1d0da0a
No related branches found
No related tags found
No related merge requests found
...@@ -6,6 +6,9 @@ ...@@ -6,6 +6,9 @@
*/ */
SimpleSAML_Utilities::maskErrors(E_STRICT); SimpleSAML_Utilities::maskErrors(E_STRICT);
/* Add the OpenID library search path. */
set_include_path(get_include_path() . PATH_SEPARATOR . dirname(dirname(dirname(dirname(__FILE__)))) . '/lib');
require_once('Auth/OpenID/SReg.php'); require_once('Auth/OpenID/SReg.php');
require_once('Auth/OpenID/Server.php'); require_once('Auth/OpenID/Server.php');
require_once('Auth/OpenID/ServerRequest.php'); require_once('Auth/OpenID/ServerRequest.php');
......
<?php <?php
/* Add the OpenID library search path. */
set_include_path(get_include_path() . PATH_SEPARATOR . dirname(dirname(dirname(dirname(__FILE__)))) . '/lib');
/** /**
* Helper class for the OpenID provider code. * Helper class for the OpenID provider code.
* *
......
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