我应该如何在这个KOHANA路线?

时间:2015-05-21 17:05:59

标签: php routing routes kohana kohana-3.3

apache错误

**Not Found**

The requested URL /status was not found on this server.

{maindir} /index.php正在运作

我的应用程序/ bootstrap.php

Route::set(
        'status', 'status'
    )->defaults(array(
        'controller' => 'solution',
        'action'     => 'status'
    )
);

我的/application/classes/Controller/Solution.php

class Controller_Solution extends Controller_Base
{

    public function action_status()
    {
    ..........................................

0 个答案:

没有答案