首页 > 代码库 > ThinkphpCMF笔记

ThinkphpCMF笔记

1.模板js,css文件__PUBLIC__

<link href="http://www.mamicode.com/__TMPL__Public/style.css" rel="stylesheet">

输出:<link href="http://www.mamicode.com/dailian/themes/dailian/Public/style.css" rel="stylesheet">

 

2.网站根目录下的Public文件

<link href="http://www.mamicode.com/__PUBLIC__/js/bootstrap/css/bootstrap.min.css" rel="stylesheet">

输出:<link href="http://www.mamicode.com/dailian/public/js/bootstrap/css/bootstrap.min.css" rel="stylesheet">

 

ThinkphpCMF笔记