1. 程式人生 > >thinkphp3.2【url地址大小寫設定】

thinkphp3.2【url地址大小寫設定】

url地址大小寫設定】

config.php裡邊對url大小寫敏感進行設定

 

引入檔案:include “hello.php”;   include(“Hello.php”); 實際都會把指定檔案找到hello.php

tp框架本身自己做了額外設定 :include (“hello.php”)  include “Hello.php”;  表示需要引入兩個不同檔案

總結:

1. 建立應用index.php入口檔案

2. 建立控制器和檢視模板

3. 控制器和真實模板進行整合(css  img  js

4. 配置檔案:

a) convertion.php

b) config.php    shop/Common/Conf/config.php (針對所有分組模組都起作用

)

c) config.php    shop/Home/Common/Conf/config.php  (針對Home分組模組起作用)