Revision: 2128
Author: olavmrk
Date: Fri Jan 22 01:14:18 2010
Log: openid/openidProvider: Fix load path for OpenID library.
Fixes issue 259.
http://code.google.com/p/simplesamlphp/source/detail?r=2128
Modified:
/trunk/modules/openid/www/consumer.php
/trunk/modules/openidProvider/lib/Server.php
=======================================
--- /trunk/modules/openid/www/consumer.php Fri Oct 16 04:04:16 2009
+++ /trunk/modules/openid/www/consumer.php Fri Jan 22 01:14:18 2010
@@ -6,6 +6,9 @@
*/
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/Server.php');
require_once('Auth/OpenID/ServerRequest.php');
=======================================
--- /trunk/modules/openidProvider/lib/Server.php Mon Oct 26 03:11:13 2009
+++ /trunk/modules/openidProvider/lib/Server.php Fri Jan 22 01:14:18 2010
@@ -1,5 +1,8 @@
<?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.
*
--
You received this message because you are subscribed to the Google Groups
"simpleSAMLphp commits" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/simplesamlphp-commits?hl=en.