Answer the question
In order to leave comments, you need to log in
How to remake url parser in Yii1?
Good afternoon, there is a problem:
With this scheme in the Url manager:
'<tenant:\d+>/' => 'hotels/index',
'<tenant:\d+>/<action:(login|logout|registration)>' => 'users/<action>',
'<tenant:\d+>/<action:(contact)>' => 'site/<action>',
'<tenant:\d+>/<controller:\w+>/<id:\d+>' => '<controller>/view',
'<tenant:\d+>/<controller:\w+>/<action:\w+>/<id:\d+>' => '<controller>/<action>',
'<tenant:\d+>/<controller:\w+>/<action:\w+>' => '<controller>/<action>',
'<module:\w+>/<controller:\w+>/<action:\w+>/<id:\d+>' => '<module>/<controller>/<action>/<id>',
'<module:\w+>/<controller:\w+>/<action:\w+>' => '<module>/<controller>/<action>',
'<tenant:\d+>/'
and discard this element. But at the same time I didn’t delete it, because. it needs access. Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question