contractPath

Overview ColdFusion Open BlueDragon Lucee

Does the opposite of the function expandPath(). Tries to match given absolute path to the mappings in the enviroment. When no mappings match, railo creates a relative path from the current position.

Available: Yes
Introduced: Railo 3.0

Attributes

Name Required Type Default Description
absolute_path Yes String a absolute path
4
path Yes String a absolute path
3
placeholder No Boolean If true (default false), Railo also tries to create a placeholder for the begining of the Tag