Source of file _config.php
Size: 0,854 Bytes - Last Modified: 2021-12-23T10:09:12+00:00
/var/www/docs.ssmods.com/process/src/_config.php
12345678910111213141516171819202122 | <?php use SilverStripe\Core\Environment; // WORKPLACE API Config // Sets the base API endpoint for all api calls. if (empty(Environment::getEnv('SS_WORKPLACE_GATEWAY_REST_URL'))) { Environment::setEnv('SS_WORKPLACE_GATEWAY_REST_URL', 'https://graph.facebook.com'); } // The community id,token parameter used in the Workplace API link endpoint should be defined. if (empty(Environment::getEnv('SS_WORKPLACE_BEARER_TOKEN')) || empty(Environment::getEnv('SS_WORKPLACE_COMMUNITY_ID'))) { user_error('Make sure that SS_WORKPLACE_BEARER_TOKEN and SS_WORKPLACE_COMMUNITY_ID constants are defined', E_USER_ERROR); } // Default cache lifetime for {@link workplaceHpmageGateway} ->call(). if (empty(Environment::getEnv('SS_WORKPLACE_HOMEPAGE_GATEWAY_CACHE_LIFETIME'))) { Environment::setEnv('SS_WORKPLACE_HOMEPAGE_GATEWAY_CACHE_LIFETIME', 60); } |