From 1ceaa010624a17deaafde82aea52c34289179314 Mon Sep 17 00:00:00 2001 From: swierczek <2423727+swierczek@users.noreply.github.com> Date: Fri, 20 Dec 2024 15:03:34 -0600 Subject: [PATCH 1/2] Update constants.md with examples --- docs/development/constants.md | 27 +++++++++++++-------------- 1 file changed, 13 insertions(+), 14 deletions(-) diff --git a/docs/development/constants.md b/docs/development/constants.md index 47093a99a..5cdf6efe1 100755 --- a/docs/development/constants.md +++ b/docs/development/constants.md @@ -15,20 +15,19 @@ 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 -- `SYSDIR` - Name of the system directory -- `SYSPATH` - Path of the system directory -- `APPPATH` and `BASEPATH` - Path to the `system/ee/legacy` directory -- `PATH_ADDONS` - Path to the first-party add-ons directory -- `PATH_THEMES` - Path to the themes directory -- `PATH_RTE` - Path to the first party RTE tools directory -- `PATH_MBR_THEMES` - Path to the member themes directory -- `PATH_CP_GBL_IMG` - Path to the global image directory -- `PATH_JAVASCRIPT` - Path to the javascript directory -- `PATH_JQUERY` - Path to the jQuery directory -- `PATH_THIRD` - Path to third-party add-ons directory -- `PATH_THIRD_THEMES` - Path to the third-party themes directory +- `SELF` - Name of the admin file (e.g. `admin.php`) +- `FCPATH` - Path to the admin file (e.g. `/var/www/html/website.com/public/`) +- `SYSDIR` - Name of the system directory (e.g. `system`) +- `SYSPATH` - Path of the system directory (e.g. `/var/www/html/website.com/system/`) +- `APPPATH` and `BASEPATH` - Path to the `system/ee/legacy` directory (e.g. `/var/www/html/website.com/system/ee/legacy/`) +- `PATH_ADDONS` - Path to the first-party add-ons directory (e.g. `/var/www/html/website.com/system/ee/ExpressionEngine/Addons/`) +- `PATH_THEMES` - Path to the themes directory (e.g. `/var/www/html/website.com/public/themes/ee/`) +- `PATH_MBR_THEMES` - Path to the member themes directory (e.g. `/var/www/html/website.com/public/themes/ee/member/`) +- `PATH_CP_GBL_IMG` - Path to the global image directory (e.g. `https://website.com/themes/ee/asset/img/`) +- `PATH_JAVASCRIPT` - Path to the javascript directory (e.g. `/var/www/html/website.com/public/themes/ee/asset/javascript/compressed/`) +- `PATH_JQUERY` - Path to the jQuery directory. (e.g. `/var/www/html/website.com/public/themes/ee/asset/javascript/compressed/jquery/`) +- `PATH_THIRD` - Path to third-party add-ons directory (e.g. `/var/www/html/website.com/system/user/addons/`) +- `PATH_THIRD_THEMES` - Path to the third-party themes directory (e.g. `/var/www/html/website.com/public/themes/user/`) ## Version Constants From a8c15d28d45245d8b965376a8f6e8e6fcf60fc15 Mon Sep 17 00:00:00 2001 From: swierczek <2423727+swierczek@users.noreply.github.com> Date: Fri, 20 Dec 2024 15:16:51 -0600 Subject: [PATCH 2/2] Formatting changes --- docs/development/constants.md | 39 +++++++++++++++++++++++------------ 1 file changed, 26 insertions(+), 13 deletions(-) diff --git a/docs/development/constants.md b/docs/development/constants.md index 5cdf6efe1..73f72e20a 100755 --- a/docs/development/constants.md +++ b/docs/development/constants.md @@ -15,19 +15,32 @@ The ExpressionEngine core defines a variety of constants to ensure consistency i ## Path Constants -- `SELF` - Name of the admin file (e.g. `admin.php`) -- `FCPATH` - Path to the admin file (e.g. `/var/www/html/website.com/public/`) -- `SYSDIR` - Name of the system directory (e.g. `system`) -- `SYSPATH` - Path of the system directory (e.g. `/var/www/html/website.com/system/`) -- `APPPATH` and `BASEPATH` - Path to the `system/ee/legacy` directory (e.g. `/var/www/html/website.com/system/ee/legacy/`) -- `PATH_ADDONS` - Path to the first-party add-ons directory (e.g. `/var/www/html/website.com/system/ee/ExpressionEngine/Addons/`) -- `PATH_THEMES` - Path to the themes directory (e.g. `/var/www/html/website.com/public/themes/ee/`) -- `PATH_MBR_THEMES` - Path to the member themes directory (e.g. `/var/www/html/website.com/public/themes/ee/member/`) -- `PATH_CP_GBL_IMG` - Path to the global image directory (e.g. `https://website.com/themes/ee/asset/img/`) -- `PATH_JAVASCRIPT` - Path to the javascript directory (e.g. `/var/www/html/website.com/public/themes/ee/asset/javascript/compressed/`) -- `PATH_JQUERY` - Path to the jQuery directory. (e.g. `/var/www/html/website.com/public/themes/ee/asset/javascript/compressed/jquery/`) -- `PATH_THIRD` - Path to third-party add-ons directory (e.g. `/var/www/html/website.com/system/user/addons/`) -- `PATH_THIRD_THEMES` - Path to the third-party themes directory (e.g. `/var/www/html/website.com/public/themes/user/`) +- `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 + - 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