Files
ms1inscription-v5/php/chronotrack_api/fx_chronotrack_constants.php
stephan 53d406ae74 Enhance ChronoTrack API configuration and improve base URL handling
This commit refines the configuration of the ChronoTrack API by introducing a variable for the base URL, allowing for easier adjustments. It also adds a conditional definition for the token key based on the environment, ensuring appropriate settings for both test and production environments. Additionally, the admin interface is updated to display the API endpoint when configured, enhancing user feedback and clarity. These changes aim to improve the overall configuration management and user experience within the API.
2026-07-03 20:56:28 -04:00

13 lines
332 B
PHP

<?php
/**
* MSIN API ChronoTrack — constantes métier du module.
*/
define('MSIN_API_CHRONOTRACK_SYNC_LIE', 'lie');
define('MSIN_API_CHRONOTRACK_SYNC_ACTIF', 'actif');
define('MSIN_API_CHRONOTRACK_SYNC_FERME', 'ferme');
if (!defined('MSIN_API_CHRONOTRACK_TOKEN_KEY')) {
define('MSIN_API_CHRONOTRACK_TOKEN_KEY', 'prod');
}