Home >Backend Development >PHP Tutorial > kohana路由有关问题

kohana路由有关问题

WBOY
WBOYOriginal
2016-06-13 12:47:46928browse

kohana路由问题
如果我路由设置成这样:

Route::set('sections', '<directory>(/<controller>(/<action>(/<id>)))',<br />
    array(<br />
        'directory' => '(admin|affiliate)'<br />
    ))<br />
    ->defaults(array(<br />
        'controller' => 'index',<br />
        'action'     => 'index',<br />
    ));

在地址栏中我应该怎么输入才能访问

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn