Realpath

Following are the ways to get realpaths:

_______________________

[aw2.get realpath.home /]
This will return – root path of website
Eg. if you use this is domain_name.com then it will return
/var/www/domain_name.com/htdocs/”

_______________________

[aw2.get realpath.app_folder /]
This will return – root path of the app your are currently working with
Eg. if you use this is domain_name.com in examaple-app then it will return
/var/www/domain_name.com/examaple-app-docs/

_______________________

[aw2.get realpath.template_folder/]
This will return – root path of templates folder
Eg. if you use this is domain_name.com in then it will return
/var/www/domain_name.com/templates/
(note: please confirm this shortcode in prior of using)

Updated on Dec 11, 2020