I have 2 domains: domain1.com and domain2.com
How do I know that What is the domain that is used to make an action call?
Like
domain1.com/controller/action
I want to get domain1.com from action
Is it possible?
Thanks
Use the method if you need a port Use host_with_port
.
No comments:
Post a Comment