Base ViewHelper <f:base>

ViewHelper which creates a <base href="..."></base> tag.

The Base URI is taken from the current request.

Examples

Example:

<f:base />
Copied!

Output:

<base href="http://yourdomain.tld/" />
Copied!

Depending on your domain.

Source code

Go to the source code of this ViewHelper: BaseViewHelper.php (GitHub).