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