references:joomla.framework:document:jdocumenthtml-setbasesetBase
Sets the document base URL tag. Syntaxvoid setBase ( $url )
ExamplesSet the document base URL tag. Example global $mainframe; $document =& JFactory::getDocument(); $document->setBase( $mainframe->getBaseURL() ); might result in the following base tag in the head block: Result <base href="http://127.0.0.1/joomla11/" />
|


