1
0
Fork 0
mirror of https://github.com/Oreolek/ifhub.club.git synced 2024-06-27 20:15:02 +03:00

fix router

This commit is contained in:
Mzhelskiy Maxim 2015-04-19 08:51:06 +07:00
parent 75b373839e
commit 3d1ac7f91e

View file

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