2017-06-21 04:03:51 +08:00
|
|
|
<?php
|
|
|
|
|
2017-07-06 12:05:17 +08:00
|
|
|
/**
|
|
|
|
* 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.
|
|
|
|
*/
|
|
|
|
|
2017-06-21 04:03:51 +08:00
|
|
|
return [
|
2018-08-27 00:40:04 +08:00
|
|
|
/*
|
2017-12-16 01:22:46 +08:00
|
|
|
* Check for if we're "installed" or not
|
|
|
|
*/
|
|
|
|
'installed' => env('PHPVMS_INSTALLED', false),
|
|
|
|
|
2018-08-27 00:40:04 +08:00
|
|
|
/*
|
2018-03-01 03:54:14 +08:00
|
|
|
* The ISO "Currency Code" to use, the list is in config/money.php
|
2018-02-27 10:23:48 +08:00
|
|
|
*
|
|
|
|
* 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',
|
|
|
|
|
2018-08-27 00:40:04 +08:00
|
|
|
/*
|
2018-04-03 11:35:25 +08:00
|
|
|
* Point to the class to use to retrieve the METAR string. If this
|
|
|
|
* goes inactive at some date, it can be replaced
|
|
|
|
*/
|
|
|
|
'metar' => App\Services\Metar\AviationWeather::class,
|
|
|
|
|
2018-08-27 00:40:04 +08:00
|
|
|
/*
|
2017-12-08 07:22:15 +08:00
|
|
|
* Your vaCentral API key
|
|
|
|
*/
|
2017-12-15 07:12:42 +08:00
|
|
|
'vacentral_api_key' => env('VACENTRAL_API_KEY', ''),
|
2017-12-08 07:22:15 +08:00
|
|
|
|
2018-08-27 00:40:04 +08:00
|
|
|
/*
|
2017-12-08 07:22:15 +08:00
|
|
|
* vaCentral API URL. You likely don't need to change this
|
|
|
|
*/
|
|
|
|
'vacentral_api_url' => 'https://api.vacentral.net',
|
|
|
|
|
2018-08-27 00:40:04 +08:00
|
|
|
/*
|
2017-08-03 04:29:04 +08:00
|
|
|
* Misc Settings
|
|
|
|
*/
|
2017-12-08 07:22:15 +08:00
|
|
|
'news_feed_url' => 'http://forum.phpvms.net/rss/1-announcements-feed.xml/?',
|
2018-01-20 07:44:17 +08:00
|
|
|
|
2018-08-27 00:40:04 +08:00
|
|
|
/*
|
2018-01-20 07:44:17 +08:00
|
|
|
* URL to the latest version file
|
|
|
|
*/
|
|
|
|
'version_file' => 'http://downloads.phpvms.net/VERSION',
|
2018-02-12 10:19:02 +08:00
|
|
|
|
2018-08-27 00:40:04 +08:00
|
|
|
/*
|
2018-02-12 10:19:02 +08:00
|
|
|
* 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' => [
|
2018-08-27 00:40:04 +08:00
|
|
|
'altitude' => 'feet',
|
|
|
|
'distance' => 'nmi',
|
|
|
|
'fuel' => 'lbs',
|
|
|
|
'mass' => 'lbs',
|
|
|
|
'velocity' => 'knots',
|
|
|
|
'volume' => 'gallons',
|
2018-02-12 10:19:02 +08:00
|
|
|
],
|
2018-05-01 09:24:06 +08:00
|
|
|
|
|
|
|
/*
|
|
|
|
* Avatar resize settings
|
|
|
|
* feel free to edit the following lines.
|
2018-05-01 23:43:17 +08:00
|
|
|
* Both parameters are in px.
|
2018-05-01 09:24:06 +08:00
|
|
|
*/
|
|
|
|
'avatar' => [
|
2018-08-27 00:40:04 +08:00
|
|
|
'width' => '200',
|
2018-05-01 23:43:17 +08:00
|
|
|
'height' => '200',
|
2018-05-01 09:24:06 +08:00
|
|
|
],
|
2017-06-21 04:03:51 +08:00
|
|
|
];
|