| Label: | Constant: | Use: |
| Developpement mode | DEVMODE | Allows to pass the instance of the development mode to production, the Javascripts and CSS data are no longer loaded individually but replaced by a single compressed file, the helPHP debugger becomes silent, the document module displays the cached versions of documents. |
| Demo | DEMO | Allows you to define another mode of operation without saving data (not used by the basic instance) |
| First launch | FIRST_USE | If true, then when attempting to connect to the instance administration, a form allows to create the first user. |
| Video download lock | SECUVID | Enables the function to lock downloading videos possibility that are streamed by the media class. |
| Mono session | MONOPOSTE | Restricts connection to one machine once |
| Site name | SITE_NAME | Internal name, used to name session cookie |
| Public theme | THEME_ID | ID of the theme in database for "public" / front display (ID is displayed in the CSS editing module) |
| Admin theme | THEME_ID_ADMIN | ID of the theme in database for "admin" / backoffice display (ID is displayed in the CSS editing module) |
| SVG Sprite icons file | SVG_SPRITE_ICONS_FILE | File name in the image/icons folder used as a sprite board for the "icons" module and H:icon |
| Storage quota | STORAGE_COTA | Storage limit (controlled by php Ajax class during uploads) |
| (not displayed in maintenance) | GLUSTER_STORAGE | Whether storage is "Gluster" type (change the method of calculating storage size) |
| Base domain name | DOMAIN | Site domain name |
| Protocol | (changes BASE_URL) | Pass the start of the BASE_URL constant from http to https |
| (not displayed in maintenance) | SITE_FOLDER | File or path following the domain name (useful if using more instances on the same domain name) |
| (not displayed in maintenance) | HOME_FOLDER | Local path of the folder containing the instance |
| (not displayed in maintenance) | BASE_URL | Full access address (default: 'https://www.'.Config::DOMAIN.'/'.Config::SITE_FOLDER ) |
| Admin folder name | ADMIN_FOLDER | Folder name to access administration (default: 'admin') after BASE_URL. It is recommended to change the folder name to limit backoffice attacks. |
| (not displayed in maintenance) | HELPHP_FOLDER | Local path to access the "main" of helPHP (libraries/modules etc.). |
| (not displayed in maintenance) | LOG_FILE | Path to save the dev log file of the helPHP debugger (disabled in production) |
| (not displayed in maintenance) | ROOT_FS | Local path in which the PHP Filesystem class will limit access according to the status of the skip_check_path variable. It will check that the operation is done only in this path if $FS->skip_check_path is false. |
| Apache user | APACHE_USER | User name apache applied to the file after manipulation. |
| (not displayed in maintenance) | LIBTRANSLATE_URL | Libre Translate API Address for translation requests |
| (not displayed in maintenance) | LIBTRANSLATE_APIKEY | Api key for calls to Libre Translate |
| (not displayed in maintenance) | API_MODE | Enables the helPHP API |
| (not displayed in maintenance) | TINYMCE_UPLOAD | Allow media upload in a TinyMCE editor |
| (not displayed in maintenance) | CLUSTER_MODE | Whether the instance works in a cluster (cloud/multiple VM or server) to change session type. |
| Duration of a session, in hour | SESSION_HOURS | Session time in hours |
| Redis enabled | REDIS | Enables or not record of sessions and process tracking in a Redis server (otherwise it is database, therefore slower). |
| Host | REDIS_HOST | Network or IP name of Redis server |
| Port | REDIS_PORT | Redis server port |
| (not displayed in maintenance) | REDIS_ADDRESS | Address of the Redis server composed using the REDIS_HOST and REDIS_PORT constants |
| Duration of an API connection token, in minutes | TOKEN_MINUTE | Number of minutes for the lifetime of a connection token used to replace sessions during communication via the helPHP API. |
| (not displayed in maintenance) | CRYPT_KEY | Crypt class default encryption and decryption key |
| Allowed for login | USERNAME_VALID_STRING | all characters allowed for a login |
| Minimum size of a password | USEXIMUM_LENGTH | minimum number of characters for a password |
| Default language | DEFAULT_LANGUAGE | Language that will be used by default if no language is detected. This language must have been added with the admin language module in advance. |
| (not displayed in maintenance) | MODULES_BASIC | List of modules essential for the functioning of the proceeding, and therefore publicly accessible. They must also have their CSS edited in the basic theme, not in the theme limited to a module (as preloaded by default) |
| (not displayed in maintenance) | AVAILABLE_LANGUAGE | List of available languages, managed with the admin language module. |
| Number of attempts to connect before banishment | MAX_USER_CONNECTION_ATTEMPS | |
| Duration of banishment, in hours | CONNECTION_TRY_BAN_HOURS | |
| (not displayed in maintenance) | INCLUDE_JS_ANIMATE | Enables and loads the helPHP JavaScript animation engine, and activates animation detection (needs to generate the constant file again.js from the general maintenance tab to be applied) |
| (not displayed in maintenance) | MINIFICATION_TIME | Timestamp updated during last use of utils/minification to force refreshment of compressed Javascripts and CSS after going to production |
| (not displayed in maintenance) | MODULE_LIST | Table of available modules and their options (explained below). |