diff --git a/docs/development/constants.md b/docs/development/constants.md index 47093a99..73f72e20 100755 --- a/docs/development/constants.md +++ b/docs/development/constants.md @@ -15,20 +15,32 @@ The ExpressionEngine core defines a variety of constants to ensure consistency i ## Path Constants -- `SELF` - Name of the bootstrap file -- `FCPATH` - Path to the bootstrap file +- `SELF` - Name of the admin file + - Example: `admin.php` +- `FCPATH` - Path to the admin file + - Example: `/var/www/html/website.com/public/` - `SYSDIR` - Name of the system directory + - Example: `system` - `SYSPATH` - Path of the system directory + - Example: `/var/www/html/website.com/system/` - `APPPATH` and `BASEPATH` - Path to the `system/ee/legacy` directory + - Example: `/var/www/html/website.com/system/ee/legacy/` - `PATH_ADDONS` - Path to the first-party add-ons directory + - Example: `/var/www/html/website.com/system/ee/ExpressionEngine/Addons/` - `PATH_THEMES` - Path to the themes directory -- `PATH_RTE` - Path to the first party RTE tools directory + - Example: `/var/www/html/website.com/public/themes/ee/` - `PATH_MBR_THEMES` - Path to the member themes directory + - Example: `/var/www/html/website.com/public/themes/ee/member/` - `PATH_CP_GBL_IMG` - Path to the global image directory + - Example: `https://website.com/themes/ee/asset/img/` - `PATH_JAVASCRIPT` - Path to the javascript directory + - Example: `/var/www/html/website.com/public/themes/ee/asset/javascript/compressed/` - `PATH_JQUERY` - Path to the jQuery directory + - Example: `/var/www/html/website.com/public/themes/ee/asset/javascript/compressed/jquery/` - `PATH_THIRD` - Path to third-party add-ons directory + - Example: `/var/www/html/website.com/system/user/addons/` - `PATH_THIRD_THEMES` - Path to the third-party themes directory + - Example: `/var/www/html/website.com/public/themes/user/` ## Version Constants