tp5 layout布局

***config.php
   // 视图输出字符串内容替换
    'view_replace_str'       => [
        '__PUBLIC__'=>'../../../../public/',
//        '__RT__'=>'../../../../public/'
    ],


//layout.html
{include file="./index/layout/top.html" /}
{include file="./index/layout/left.html" /}
 {__CONTENT__}
{include file="./index/layout/footer.html" /}	

你可能感兴趣的:(tp5 layout布局)