CodeCharge Studio
RelativePath Constant (PHP)
Applies to
Global constant
Type
string
Access
read/write
Syntax
define("RelativePath", [value])
RelativePath
Description
This constant variable contains the relative path of the current file based
on its location on the web server. This variable is used when loading the template
file for the page and can also be used to specify an alternate template file from
a different location.
Note: Since this variable is a constant, you can refer to it without declaring
it as global in your event code and the dollar sign prefix is not needed.
See also
TemplateFileName Variable
FileName Variable
On-line, printable versions and updates