迅睿開源框架是一款PHP8高性能·簡(jiǎn)單易用的PHP開源開發(fā)框架, 基于MIT開源許可協(xié)議發(fā)布,不限制商業(yè)使用,以多端互聯(lián)為設(shè)計(jì)理念, 支持的微信公眾號(hào)、小程序、APP客戶端、移動(dòng)端網(wǎng)站、PC網(wǎng)站等多終端式管理系統(tǒng)。
業(yè)務(wù)經(jīng)理
微信掃描以上二維碼
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、后臺(tái)URL
http://localhost/admin.php?c=控制器名稱&m=方法名稱
對(duì)應(yīng)程序文件:/diy/dayrui/controllers/admin/控制器名稱.php
2、會(huì)員URL
http://localhost/index.php?s=member&c=控制器名稱&m=方法名稱
對(duì)應(yīng)程序文件:/diy/module/member/controllers/控制器名稱.php
3、前端URL
http://localhost/index.php?c=控制器名稱&m=方法名稱
對(duì)應(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、后臺(tái)URL
http://localhost/admin.php?c=控制器名稱&m=方法名稱
2、會(huì)員URL
http://localhost/index.php?s=member&c=控制器名稱&m=方法名稱
3、前端URL
http://localhost/index.php?c=控制器名稱&m=方法名稱
其中l(wèi)ocalhost是網(wǎng)站的主域名