mirror of
https://gitee.com/zongzhige/shopxo.git
synced 2026-07-07 06:15:29 +08:00
tp框架识别不了https兼容处理
This commit is contained in:
@ -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');
|
||||
|
||||
Reference in New Issue
Block a user