API17:JURI::base
From Joomla! Documentation
JURI::base
Description
Returns the base URI for the request.
public static function base ($pathonly=false)
| Parameter | Type | Default | Description |
|---|---|---|---|
| $pathonly | boolean | false | If false, prepend the scheme, host and port information. Default is false. |
- Returns string The base URI string
- Defined on line 182 of libraries/joomla/environment/uri.php
- Since

- Referenced by
See also
JURI::base source code on BitBucket
Class JURI
Subpackage Environment- Other versions of JURI::base
User contributed notes
Code Examples