宝塔升级后,织梦自动生成友情链接代码获取不了,10次占9次获取出来的值是空
首页模板中自动获取代码
{dede:php}
$output=file_get_contents("/index/Autochain/AutoChainYL?sign=f5acc7d4ed4aa4f4066a809157f3c959&id=91491&dtype=html&text=true&code=utf-8");
echo $output;
{/dede:php}
已验证:在本地搭建的环境是正常的,只有在升级后的宝塔中获取出来的值是空的
|
|