This is no doubt quite a silly question, but I haven't been able to find an answer to it.
I'm making a module, and I need the root URL of the Joomla installation. How can get this? I assume it's a variable within a class, but have no idea what it's called.
What's the variable for a site's root URL?
Moderators: tjay, seadap, Rogue4ngel, matthewhayashida
Forum rules
Re: What's the variable for a site's root URL?
If using 1.5, try JURI::base().
http://springhillalumni.org • Springhill High School Alumni Association
Re: What's the variable for a site's root URL?
Thanks. That was exactly what I needed. ![Cheesy :D](./images/smilies/cheesy.gif)
![Cheesy :D](./images/smilies/cheesy.gif)