MISP (core software) - Open Source Threat Intelligence and Sharing Platform (formely known as Malware Information Sharing Platform) https://www.misp-project.org/
25개 이상의 토픽을 선택하실 수 없습니다. Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

27 lines
1.0 KiB

  1. --- app/Config/routes.php.orig 2012-05-22 18:37:44.000000000 +0200
  2. +++ app/Config/routes.php 2012-09-25 12:59:05.832275906 +0200
  3. @@ -25,14 +25,17 @@
  4. * its action called 'display', and we pass a param to select the view file
  5. * to use (in this case, /app/View/Pages/home.ctp)...
  6. */
  7. - Router::connect('/', array('controller' => 'pages', 'action' => 'display', 'home'));
  8. -/**
  9. - * ...and connect the rest of 'Pages' controller's urls.
  10. - */
  11. - Router::connect('/pages/*', array('controller' => 'pages', 'action' => 'display'));
  12. + Router::connect('/', array('controller' => 'events', 'action' => 'index'));
  13. +
  14. + // admin pagination
  15. + Router::connect('/users/admin_index/*', array('controller' => 'users', 'action' => 'index', 'admin' => true));
  16. +
  17. + // Activate REST
  18. + Router::mapResources(array('events'));
  19. + Router::parseExtensions('xml');
  20. /**
  21. - * Load all plugin routes. See the CakePlugin documentation on
  22. + * Load all plugin routes. See the CakePlugin documentation on
  23. * how to customize the loading of plugin routes.
  24. */
  25. CakePlugin::routes();