Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- 'urlManager' => [
- // Disable index.php
- 'showScriptName' => false,
- // Disable r= routes
- 'enablePrettyUrl' => true,
- 'rules'=>array(
- '<controller:w+>/<id:d+>' => '<controller>/view',
- '<controller:w+>/<action:w+>/<id:d+>' => '<controller>/<action>',
- '<controller:w+>/<action:w+>' => '<controller>/<action>',
- '<action:>' => 'site/<action>',
- ),
- ],
Add Comment
Please, Sign In to add comment