提交 c0b9c68d 编写于 作者: D devil_gong

tp框架识别不了https兼容处理

上级 8064f666
......@@ -225,7 +225,7 @@ function MyUrl($path, $params=[])
$url = str_replace('public/', '', $url);
}
// tpurl方法是否识别到https
// tp框架url方法是否识别到https
if(__MY_HTTP__ == 'https' && substr($url, 0, 5) != 'https')
{
$url = 'https'.mb_substr($url, 4, null, 'utf-8');
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册