I've a domain and a subdomain with this structure:
Domain: mydomain.com
Subdomain: m.mydomain.com (which "mydomain.com/mobile/" is the folder)
While I'm on mydomain.com, I upload images to the folder "images", this is the structure:
mydomain.com/images/image.jpg
And I've no problems with it, because the folder /images/ is in the domain.
Now, when I'm in m.mydomain.com, how can I upload images to the domain folder (mydomain.com/images) and not to the subdomain folder (m.mydomain.com/images)?
Thank you guys
PS. I'm using Routing with both domains, with the index.php as "router"