Move internal unit definitions to config file #189

This commit is contained in:
Nabeel Shahzad
2018-02-11 20:19:02 -06:00
parent 4eef254688
commit fd4407a798
8 changed files with 40 additions and 32 deletions

View File

@@ -46,4 +46,17 @@ return [
* 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',
'mass' => 'lbs',
'velocity' => 'knots',
'volume' => 'gallons',
],
];