Added new parameter
Added in
3.6.10 (stable/3.6 (3.6.10) rev. 16513),
3.7.8 (stable/3.7 rev. 16512),
3.8.3 (stable/3.8 rev. 16499),
3.9.0alpha1 (trunk rev. 16500).
# Added new parameter to ezroot/ezurl:
# New parameter: "full" or "relative" ("relative" by default)
# Usage:
ezroot:
{"var/cache/images/root.png"|ezroot(,'full')} will produce:
"http://<hostname>:<port>/var/cache/images/root.png"
ezurl:
{"var/cache/images/root.png"|ezurl(,'full')} will produce:
"http://<hostname>:<port>/<siteaccess>/var/cache/images/root.png"