ezroot
Summary
Same as "ezurl" without "index.php" and the siteaccess name in the returned address.
Usage
input|ezroot( [ quote [, type ] ] )
Parameters
| Name | Type | Description | Required |
|---|---|---|---|
| quote | string | Quote style: "no", "single" or "double" (default). | No. |
| type | string | URL type: "full" or "relative" (default). | No. |
Returns
A string containing a working version of the input address.
Description
This operator works almost in the same way as the "ezurl" operator. The only difference is that it does not include "index.php" or the name of the siteaccess in the returned address. In other words, it returns an address which points to the root of the Exponential directory.
Contributors
- Balazs Halasy Maintainer
- Ester Heylen Updated Maintainer
- Svitlana Shatokhina Maintainer
- Peter Halasz Commenter
Comments (2 historical)
Written by readers of the earlier documentation sites, kept as they were.
The usage example is wrong.
Peter Halasz ·
The usage example should say input|ezroot( [ quote [, type ] ] )
Re: The usage example is wrong.
Ester H. ·
This has been edited.