#21 base code for accepting/rejecting PIREPs

This commit is contained in:
Nabeel Shahzad
2017-07-04 01:05:37 -05:00
parent c310bffed9
commit 77b164a64c
14 changed files with 285 additions and 58 deletions

View File

@@ -86,6 +86,5 @@ return [
|
*/
'prefix' => 'phpvms',
'prefix' => env('CACHE_PREFIX', ''),
];

View File

@@ -1,11 +1,18 @@
<?php
# TODO: Remove this ugly hackiness
if(defined('VMSEnums')) {
return;
} else {
define('VMSEnums', true);
}
class VMSEnums
{
public static $sources
= [
'ACARS' => 0,
'MANUAL' => 1,
'MANUAL' => 0,
'ACARS' => 1,
];
public static $pirep_status

View File

@@ -7,4 +7,11 @@ return [
* dollar, euro, gbp, yen, jpy, rupee, ruble
*/
'currency' => env('PHPVMS_CURRENCY', 'dollar'),
'cache_keys' => [
'RANKS_PILOT_LIST' => [
'key' => 'ranks::pilot_list',
'time' => 1440,
]
]
];