This should be simple but i am unable to figure it out
I have two applications, one accessible from index.php and other from admin.php. Except config file, these application share almost all of the code, controllers, models, views. In admin.php application, i need to provide links to index.php application. I cannot figure out how to do this. Redirect, createUrl, createAbsoluteUrl, all of these functions only take controllerId/actionId pair as arguments. How do we specify scriptFile name?
As far as I understand, you can not create a link to other application using the url manager … I mean, using “controller/action + parameters” syntax. It’s only effective within the current application. You have to create a link with a plain string like you do for a link to other site.