phpvms/config/phpvms.php
2018-03-11 18:05:53 -05:00

67 lines
1.6 KiB
PHP

<?php
/**
* DO NOT MODIFY THIS FILE DIRECTLY!
* It will just make upgrading (a little) more difficult
*
* Create a local.conf.php in the root (in the same directory
* as your .env file), and then copy this file into there, and
* make your changes there.
*/
return [
/**
* Check for if we're "installed" or not
*/
'installed' => env('PHPVMS_INSTALLED', false),
/**
* The ISO "Currency Code" to use, the list is in config/money.php
*
* Note, do not change this after you've set it, unless you don't
* care that the currencies aren't "exchanged" into the new format
*/
'currency' => 'USD',
/**
* Your vaCentral API key
*/
'vacentral_api_key' => env('VACENTRAL_API_KEY', ''),
/**
* vaCentral API URL. You likely don't need to change this
*/
'vacentral_api_url' => 'https://api.vacentral.net',
/**
* For METAR features, register for an API key at
* https://www.checkwx.com
*/
'checkwx_api_key' => env('CHECKWX_API_KEY', false),
/**
* Misc Settings
*/
'news_feed_url' => 'http://forum.phpvms.net/rss/1-announcements-feed.xml/?',
/**
* URL to the latest version file
*/
'version_file' => 'http://downloads.phpvms.net/VERSION',
/**
* DO NOT CHANGE THESE! It will result in messed up data
* The setting you're looking for is in the admin panel,
* under settings, for the display units
*/
'internal_units' => [
'altitude' => 'feet',
'distance' => 'nmi',
'fuel' => 'lbs',
'mass' => 'lbs',
'velocity' => 'knots',
'volume' => 'gallons',
],
];