我正在使用Zend_Framework 1.在我的Bootstrap.php中,我重写了我的类别链接:
$route = new Zend_Controller_Router_Route_Regex("^([a-z,0-9,-]*)(/|)([a-z,0-9,-]*)(/|)([a-z,0-9,-]*)(/|)([a-z,0-9,-]*)(/|)([a-z,0-9,-]*)(/date/|)([a-z]*)(/page/|)([0-9]*)$",
array(
"module" => "default",
"controller" => "categories",
"action" => "index"
),
array(
1 => 'firstparam',
3 => 'secondparam',
5 => 'theeparam',
7 => 'fourparam',
9 => 'fiveparam',
11 => 'date',
13 => 'page',
)
);
$router->addRoute("RouteCategories", $route);
问题是我的所有管理链接(我使用的模块)现在都进入这个状态。有没有办法只将此条件应用于模块:默认情况下不重写我的所有管理链接?感谢