Skip to content

Commit 0191d27

Browse files
authored
Merge pull request #915 from swierczek/patch-1
Update constants.md with examples
2 parents b1b1902 + a8c15d2 commit 0191d27

File tree

1 file changed

+15
-3
lines changed

1 file changed

+15
-3
lines changed

docs/development/constants.md

+15-3
Original file line numberDiff line numberDiff line change
@@ -15,20 +15,32 @@ 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
18+
- `SELF` - Name of the admin file
19+
- Example: `admin.php`
20+
- `FCPATH` - Path to the admin file
21+
- Example: `/var/www/html/website.com/public/`
2022
- `SYSDIR` - Name of the system directory
23+
- Example: `system`
2124
- `SYSPATH` - Path of the system directory
25+
- Example: `/var/www/html/website.com/system/`
2226
- `APPPATH` and `BASEPATH` - Path to the `system/ee/legacy` directory
27+
- Example: `/var/www/html/website.com/system/ee/legacy/`
2328
- `PATH_ADDONS` - Path to the first-party add-ons directory
29+
- Example: `/var/www/html/website.com/system/ee/ExpressionEngine/Addons/`
2430
- `PATH_THEMES` - Path to the themes directory
25-
- `PATH_RTE` - Path to the first party RTE tools directory
31+
- Example: `/var/www/html/website.com/public/themes/ee/`
2632
- `PATH_MBR_THEMES` - Path to the member themes directory
33+
- Example: `/var/www/html/website.com/public/themes/ee/member/`
2734
- `PATH_CP_GBL_IMG` - Path to the global image directory
35+
- Example: `https://website.com/themes/ee/asset/img/`
2836
- `PATH_JAVASCRIPT` - Path to the javascript directory
37+
- Example: `/var/www/html/website.com/public/themes/ee/asset/javascript/compressed/`
2938
- `PATH_JQUERY` - Path to the jQuery directory
39+
- Example: `/var/www/html/website.com/public/themes/ee/asset/javascript/compressed/jquery/`
3040
- `PATH_THIRD` - Path to third-party add-ons directory
41+
- Example: `/var/www/html/website.com/system/user/addons/`
3142
- `PATH_THIRD_THEMES` - Path to the third-party themes directory
43+
- Example: `/var/www/html/website.com/public/themes/user/`
3244

3345
## Version Constants
3446

0 commit comments

Comments
 (0)