「LiteSite/RWD」修訂間的差異

出自六年制學程
跳至導覽 跳至搜尋
 
第1行: 第1行:
 
[[分類:LiteSite]]
 
[[分類:LiteSite]]
 
以 http://urclass.net/EMEP/peanut/ 為例。
 
以 http://urclass.net/EMEP/peanut/ 為例。
 +
 +
===控制首頁表現===
 +
elseif(substr(urldecode($_SERVER['SCRIPT_NAME']),0,12)=='/EMEP/peanut'){header("Location: http://urclass.net/EMEP/peanut/");}

於 2022年11月9日 (三) 14:08 的最新修訂

http://urclass.net/EMEP/peanut/ 為例。

控制首頁表現

elseif(substr(urldecode($_SERVER['SCRIPT_NAME']),0,12)=='/EMEP/peanut'){header("Location: http://urclass.net/EMEP/peanut/");}