thinkphp routing problem
孙帅帅
孙帅帅 2018-06-09 17:53:48
0
1
1044

'url_route_on' => true,

// Route uses complete match

'route_complete_match' => false,

// Routing configuration file (supported Configure multiple)

'route_config_file' => ['route'],

// Whether to force the use of routing

'url_route_must' => false,

'route_complete_match' => false, change to true

'url_route_must' => false, change to true

will report an error

孙帅帅
孙帅帅

reply all(1)
亚连

If you enable forced routing, you must set the route, otherwise an undefined route error will be reported. If you are not very familiar with routing, it is recommended not to enable forced routing.

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template