mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-05 09:41:40 +09:00
More fixes to XE compatible routes
This commit is contained in:
parent
d0b0790beb
commit
5869201023
2 changed files with 7 additions and 3 deletions
|
|
@ -223,10 +223,13 @@ class Router
|
|||
// Try XE-compatible global routes.
|
||||
if ($rewrite_level >= 1)
|
||||
{
|
||||
$result = self::_insertRouteVars(self::_getRearrangedGlobalRoutes(), $args);
|
||||
if ($result !== false)
|
||||
if (!isset($args['act']) || ($args['act'] === 'rss' || $args['act'] === 'atom'))
|
||||
{
|
||||
return $result;
|
||||
$result = self::_insertRouteVars(self::_getRearrangedGlobalRoutes(), $args);
|
||||
if ($result !== false)
|
||||
{
|
||||
return $result;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -57,6 +57,7 @@
|
|||
</grants>
|
||||
<actions>
|
||||
<action name="dispBoardContent" type="view" permission="list" standalone="false" index="true">
|
||||
<route route="$document_srl:int" />
|
||||
<route route="page/$page:int" />
|
||||
<route route="search/$search_target/$search_keyword" />
|
||||
</action>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue