mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-08 19:21:40 +09:00
#18684132 : fixed openid problem on windows server
git-svn-id: http://xe-core.googlecode.com/svn/sandbox@7292 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
07f67527c4
commit
f1b917558e
1 changed files with 5 additions and 0 deletions
|
|
@ -47,6 +47,11 @@
|
|||
$config = $oModuleModel->getModuleConfig('member');
|
||||
if($config->enable_openid != 'Y') $this->stop('msg_invalid_request');
|
||||
|
||||
if(!defined('Auth_OpenID_RAND_SOURCE') && !file_exists("/dev/urandom"))
|
||||
{
|
||||
define('Auth_OpenID_RAND_SOURCE', null);
|
||||
}
|
||||
|
||||
set_include_path(_XE_PATH_."modules/member/php-openid-1.2.3");
|
||||
require_once('Auth/OpenID.php');
|
||||
require_once('Auth/OpenID/Consumer.php');
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue