Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- https://site.ru/category_1/.../category_N/post.html
- $router = new PhalconMvcRouter();
- $router->notFound(array(
- 'controller' => 'index',
- 'action' => 'error404',
- ));
- $router->add(
- '/', array(
- 'controller' => 'index',
- 'action' => 'index'
- )
- );
- $router->add(
- '/{uri:[a-zA-Z0-9-/.]+}', array(
- 'controller' => 'index',
- 'action' => 'index',
- )
- );
- $router->add(
- '/sitemapsyswrub7g5ox6mtz2tbplwiu6yduox6m.xml', array(
- 'controller' => 'index',
- 'action' => 'sitemap'
- )
- );
- return $router;
- site.ru/blabla_
- BlablaController handler class cannot be loaded
- #0 [internal function]: PhalconMvcDispatcher->_throwDispatchException('BlablaControlle...', 2)
- #1 [internal function]: PhalconDispatcher->_dispatch()
- #2 [internal function]: PhalconDispatcher->dispatch()
- #3 /home/srv/http/project/site.ru/public/index.php(23): PhalconMvcApplication->handle()
- #4 {main}
- site.ru/blabla_.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement