0
我對子文件夾路由有一個小問題,在kohana中有很多問題,但是我寫了所有內容,但仍然存在問題,我在這個行中添加了boostrap:Kohana v3.30子文件夾路由
Route::set('admin', 'folder(/<controller>(/<action>(/<id>)))')
->defaults(array(
'directory' => 'folder',
'controller' => 'test',
'action' => 'pokaz',
));
我夾在我的控制器文件夾(應用程序/控制器/文件夾),我的控制器:
class Controller_Folder_Test extends Controller {
public function action_pokaz() {
echo "dasdsadsad";
}
}
當我寫這篇網址: 1. http://example.com/kohana/index.php/test/pokaz - (Kohana的 - 沒有找到URL) 2. http://example.com/kohana/index.php/folder/test/pokaz - (Kohana - 找不到你RL) 3.無/index.php/ - 404未發現 - 阿帕奇
所以,我真的不知道我在做什麼錯
讓我看看你的bootstrap.php – Kotzilla 2013-03-25 10:38:20