Skip to content

Commit 1ceaa01

Browse files
authored
Update constants.md with examples
1 parent cd6f4b7 commit 1ceaa01

File tree

1 file changed

+13
-14
lines changed

1 file changed

+13
-14
lines changed

docs/development/constants.md

+13-14
Original file line numberDiff line numberDiff line change
@@ -15,20 +15,19 @@ The ExpressionEngine core defines a variety of constants to ensure consistency i
1515

1616
## Path Constants
1717

18-
- `SELF` - Name of the bootstrap file
19-
- `FCPATH` - Path to the bootstrap file
20-
- `SYSDIR` - Name of the system directory
21-
- `SYSPATH` - Path of the system directory
22-
- `APPPATH` and `BASEPATH` - Path to the `system/ee/legacy` directory
23-
- `PATH_ADDONS` - Path to the first-party add-ons directory
24-
- `PATH_THEMES` - Path to the themes directory
25-
- `PATH_RTE` - Path to the first party RTE tools directory
26-
- `PATH_MBR_THEMES` - Path to the member themes directory
27-
- `PATH_CP_GBL_IMG` - Path to the global image directory
28-
- `PATH_JAVASCRIPT` - Path to the javascript directory
29-
- `PATH_JQUERY` - Path to the jQuery directory
30-
- `PATH_THIRD` - Path to third-party add-ons directory
31-
- `PATH_THIRD_THEMES` - Path to the third-party themes directory
18+
- `SELF` - Name of the admin file (e.g. `admin.php`)
19+
- `FCPATH` - Path to the admin file (e.g. `/var/www/html/website.com/public/`)
20+
- `SYSDIR` - Name of the system directory (e.g. `system`)
21+
- `SYSPATH` - Path of the system directory (e.g. `/var/www/html/website.com/system/`)
22+
- `APPPATH` and `BASEPATH` - Path to the `system/ee/legacy` directory (e.g. `/var/www/html/website.com/system/ee/legacy/`)
23+
- `PATH_ADDONS` - Path to the first-party add-ons directory (e.g. `/var/www/html/website.com/system/ee/ExpressionEngine/Addons/`)
24+
- `PATH_THEMES` - Path to the themes directory (e.g. `/var/www/html/website.com/public/themes/ee/`)
25+
- `PATH_MBR_THEMES` - Path to the member themes directory (e.g. `/var/www/html/website.com/public/themes/ee/member/`)
26+
- `PATH_CP_GBL_IMG` - Path to the global image directory (e.g. `https://website.com/themes/ee/asset/img/`)
27+
- `PATH_JAVASCRIPT` - Path to the javascript directory (e.g. `/var/www/html/website.com/public/themes/ee/asset/javascript/compressed/`)
28+
- `PATH_JQUERY` - Path to the jQuery directory. (e.g. `/var/www/html/website.com/public/themes/ee/asset/javascript/compressed/jquery/`)
29+
- `PATH_THIRD` - Path to third-party add-ons directory (e.g. `/var/www/html/website.com/system/user/addons/`)
30+
- `PATH_THIRD_THEMES` - Path to the third-party themes directory (e.g. `/var/www/html/website.com/public/themes/user/`)
3231

3332
## Version Constants
3433

0 commit comments

Comments
 (0)