Skip to content

Conversation

@jafaripur
Copy link
Contributor

This is useful when using Yii advanced application structure and use the same configuration for UrlManager in common section to affect in back-end and front-end.

@mikehaertl
Copy link
Collaborator

Why would you need this in you console application? You should simply not include it in the bootstrap property there, but only add it to the web configuration.

Does this make sense?

@phpnode
Copy link
Member

phpnode commented Nov 4, 2014

@mikehaertl because you may need to generate localized URLs from the console?

mikehaertl added a commit that referenced this pull request Nov 5, 2014
Prevent to run in bootstrap when application running in console mode.
@mikehaertl mikehaertl merged commit 76d4da4 into codemix:master Nov 5, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

3 participants