-2
我有一個控制器消息。還有一個叫做索引的函數。避免URL代碼中的控制器功能
class messages extends CI_Controller {
public function __construct() {
parent::__construct();
public function Index($userkey=NULL){
Some functctions
}
}
目前我的網址信息/索引/用戶鑰。我想將其轉換爲messages/userkey。 我如何轉換這個路線。請幫我
看到這個.... http://ellislab.com/forums/viewthread/234634/#1051485 – Zeeshan
可能重複http://stackoverflow.com/questions/19183311/codeigniter-removing-index-php-from-url – Naeem