Browse Source

fix router

master
Mzhelskiy Maxim 5 years ago
parent
commit
3d1ac7f91e
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      bootstrap/start.php

+ 1
- 1
bootstrap/start.php View File

@@ -94,7 +94,7 @@ $aRouterParams = array(
};
$sPreg = $funcMakePreg(Config::Get('module.topic.url'));
if (preg_match('@^' . $sPreg . '$@iu', $sUrlRequest)) {
Router::SetAction('blog');
Router::SetAction(Router::getInstance()->Rewrite('blog'));
Router::SetActionEvent('_show_topic_url');
Router::SetParams(array());
/**


Loading…
Cancel
Save