tp框架识别不了https兼容处理
parent
8064f66636
commit
c0b9c68dff
|
|
@ -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');
|
||||
|
|
|
|||
Loading…
Reference in New Issue