routerconfig.php 307 B

12345678910111213
  1. <?php
  2. if (!defined('CF_SYSTEM')) {
  3. exit('No External script access allowed');
  4. }
  5. /**
  6. * Direct routing to controller
  7. * This file is used to set all routing configurations
  8. */
  9. return array(
  10. '/sayhello/{:name}' => 'user.welcome',
  11. //'/blog(/{:year}(/{:month}(/{:day}?)?)?)?' => 'home.category'
  12. );