fengkaijia / iplacard

The Model United Nations Conference Management System by IMUNC since 2013

Home Page:http://iplacard.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

启用SSL后出现由gravatar引起的mix content错误

Guochengjie opened this issue · comments

请问如何解决或者关闭gravatar?

经检查,index.php中关于SSL的变量配置正确:
//是否使用访问SSL
if(isset($_SERVER['HTTPS']))
{
if('on' == strtolower($_SERVER['HTTPS']))
define('IP_SSL', true);
if('1' == $_SERVER['HTTPS'])
define('IP_SSL', true);
}
if(!defined('IP_SSL'))
define('IP_SSL', true);

请自行排查,Gravatar属框架函数,不受IP_SSL管理,只要PHP存在$_SERVER['HTTPS']变量即使用SSL域名,与iPlacard无关。