List available constants
Nobody has claimed this yet.
- Dominant language
- Scala
- Stars
- 136
- Forks
- 555
- Avg merge
- 4d 14h
- Merged PRs (30d)
- 4
Description
List and describe all available and defined constants.
Also include default value or example values.
_PS_ROOT_DIR_
...
_PS_PROD_IMG_DIR_
...
https://github.com/PrestaShop/PrestaShop/blob/develop/config/defines.inc.php
https://github.com/PrestaShop/PrestaShop/blob/develop/config/defines_uri.inc.php
https://github.com/PrestaShop/PrestaShop/blob/develop/config/config.inc.php
Maybe we can use get_defined_constants() or find "define(" in source code.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Review config/defines.inc.php, config/defines_uri.inc.php, and config/config.inc.php, then inspect the defined constants in those files and consider whether get_defined_constants() or searching for "define(" provides complete coverage. Document each available constant with its default or an example value, using the requested format. Done means the listed constants and values are covered in the developer documentation.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- php
- Domain
- documentation
- Issue type
- Documentation
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100