THINKPHP5.1設置__public__.__root__

thinkphp5.1和其餘版本的不一樣php 其餘版本是在config(application下)裏面設置html view_replace_str就能夠了 可是thinkphp5.1版本不同。須要再thinkphp application同級文件config裏的template.php內設置app tpl_replace_string=>[ ]           定義全局變量:thinkph
相關文章
相關標籤/搜索