Source of file _config.php
Size: 0,646 Bytes - Last Modified: 2021-12-24T06:51:36+00:00
/var/www/docs.ssmods.com/process/src/_config.php
123456789101112131415161718192021222324252627 | <?php define('HEYSTACK_BASE_PATH', __DIR__); /** * Heystack requires config from environment */ require_once FRAMEWORK_PATH . '/conf/ConfigureFromEnv.php'; /** * Ensure things have been configured */ global $databaseConfig; if (empty($databaseConfig['database'])) { throw new \RuntimeException( 'Heystack requires configuration from environment please add an _ss_environment.php ' . 'file and ensure the environment type and database details are present' ); } /** * Load the autoloader if it exists */ if (file_exists(BASE_PATH . '/vendor/autoload.php')) { require_once BASE_PATH . '/vendor/autoload.php'; } |