PrestaShop / PrestaShop/docs

List available constants

Open
#602 1 comment 0 reactions 0 assignees View on GitHub

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

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.