Airport lookup from vaCentral API; changes to Airports tables

This commit is contained in:
Nabeel Shahzad
2017-12-07 17:22:15 -06:00
parent ec8b2e8242
commit ddb8a6f5e9
19 changed files with 429 additions and 65 deletions

View File

@@ -15,9 +15,14 @@ class AppServiceProvider extends ServiceProvider
{
Schema::defaultStringLength(191);
//\VaCentral\VaCentral::setVaCentralUrl(config('phpvms.vacentral_api_url'));
if(!empty(config('phpvms.vacentral_api_key'))) {
\VaCentral\VaCentral::setApiKey(config('phpvms.vacentral_api_key'));
}
# if there's a local.conf.php in the root, then merge that in
if(file_exists(base_path('local.conf.php'))) {
$local_conf = include(base_path('local.conf.php'));
$local_conf = include base_path('local.conf.php');
$config = $this->app['config']->get('phpvms', []);
$this->app['config']->set(
'phpvms',