迅睿CMS框架是一款PHP8高性能·簡單易用的CMS開源開發(fā)框架,基于MIT開源許可協(xié)議發(fā)布,免費(fèi)且不限制商業(yè)使用,是免費(fèi)開源的產(chǎn)品,以萬端互聯(lián)為設(shè)計(jì)理念,支持的微信公眾號、小程序、APP客戶端、移動端網(wǎng)站、PC網(wǎng)站等多終端式管理系統(tǒng)。
聯(lián)系官方銷售客服
1835022288
028-61286886
///取得文件路徑
$thisfilepath=dirname(__FILE__);
///賦值給模板變量
$this->template->assign(array(
'thisfilepath'=>$thisfilepath,
));
<!--模板中調(diào)用顯示-->
{$thisfilepath}
結(jié)合幫助
CMS的URL結(jié)構(gòu)采用標(biāo)準(zhǔn)“查詢字符串”方法,結(jié)構(gòu)如下
1、后臺URL
http://localhost/admin.php?c=控制器名稱&m=方法名稱
對應(yīng)程序文件:/diy/dayrui/controllers/admin/控制器名稱.php
2、會員URL
http://localhost/index.php?s=member&c=控制器名稱&m=方法名稱
對應(yīng)程序文件:/diy/module/member/controllers/控制器名稱.php
3、前端URL
http://localhost/index.php?c=控制器名稱&m=方法名稱
對應(yīng)程序文件:/diy/dayrui/controllers/控制器名稱.php
其中l(wèi)ocalhost是網(wǎng)站的主域名
結(jié)合幫助
CMS的URL結(jié)構(gòu)采用標(biāo)準(zhǔn)“查詢字符串”方法,結(jié)構(gòu)如下
1、后臺URL
http://localhost/admin.php?c=控制器名稱&m=方法名稱
2、會員URL
http://localhost/index.php?s=member&c=控制器名稱&m=方法名稱
3、前端URL
http://localhost/index.php?c=控制器名稱&m=方法名稱
其中l(wèi)ocalhost是網(wǎng)站的主域名