mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-05-11 21:12:15 +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.
|
// Try XE-compatible global routes.
|
||||||
if ($rewrite_level >= 1)
|
if ($rewrite_level >= 1)
|
||||||
{
|
{
|
||||||
$result = self::_insertRouteVars(self::_getRearrangedGlobalRoutes(), $args);
|
if (!isset($args['act']) || ($args['act'] === 'rss' || $args['act'] === 'atom'))
|
||||||
if ($result !== false)
|
|
||||||
{
|
{
|
||||||
return $result;
|
$result = self::_insertRouteVars(self::_getRearrangedGlobalRoutes(), $args);
|
||||||
|
if ($result !== false)
|
||||||
|
{
|
||||||
|
return $result;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -57,6 +57,7 @@
|
||||||
</grants>
|
</grants>
|
||||||
<actions>
|
<actions>
|
||||||
<action name="dispBoardContent" type="view" permission="list" standalone="false" index="true">
|
<action name="dispBoardContent" type="view" permission="list" standalone="false" index="true">
|
||||||
|
<route route="$document_srl:int" />
|
||||||
<route route="page/$page:int" />
|
<route route="page/$page:int" />
|
||||||
<route route="search/$search_target/$search_keyword" />
|
<route route="search/$search_target/$search_keyword" />
|
||||||
</action>
|
</action>
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue