ThinkPHP5 读取文件 使用绝对路径 ROOT_PATH
$json_string = file_get_contents(ROOT_PATH.'json/index.json');
微信小程序
微信扫一扫体验
微信公众账号
微信扫一扫加关注