W3Cschool
恭喜您成為首批注冊用戶
獲得88經(jīng)驗值獎勵
建議
'url_case' => false
,URL嚴(yán)格區(qū)分大小寫
當(dāng)進(jìn)行如下配置時
'url_case' => true,
'url_case_separator' => '_', //該項僅當(dāng)'url_case' => true 時生效
我們可以通過以下兩種URL來訪問頁面
http://servername.com/Idea-framework/index.php/home/MyClass/sayHello
http://servername.com/Idea-framework/index.php/home/my_class/say_hello
如果URL中不存在駝峰型參數(shù)時,可以實現(xiàn)URL不區(qū)分大小寫
http://servername.com/Idea-framework/index.php/home/My/say
http://servername.com/Idea-framework/index.php/home/my/say
Copyright©2021 w3cschool編程獅|閩ICP備15016281號-3|閩公網(wǎng)安備35020302033924號
違法和不良信息舉報電話:173-0602-2364|舉報郵箱:jubao@eeedong.com
掃描二維碼
下載編程獅App
編程獅公眾號
聯(lián)系方式:
更多建議: