From d063e8aa5a2362c344d0d3e69c947225a8f64fe1 Mon Sep 17 00:00:00 2001 From: Sebastian Schmidt Date: Mon, 6 May 2019 21:53:01 +1000 Subject: [PATCH] env -> config (analytics) fix php artisan config:cache --- config/attendize.php | 1 + resources/views/Shared/Partials/GlobalFooterJS.blade.php | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/config/attendize.php b/config/attendize.php index 9ef54a3b..09599e31 100644 --- a/config/attendize.php +++ b/config/attendize.php @@ -71,5 +71,6 @@ return [ 'cdn_url_user_assets' => '', 'cdn_url_static_assets' => '', + 'google_analytics_id' => env('GOOGLE_ANALYTICS_ID'), 'google_maps_geocoding_key' => env('GOOGLE_MAPS_GEOCODING_KEY') ]; diff --git a/resources/views/Shared/Partials/GlobalFooterJS.blade.php b/resources/views/Shared/Partials/GlobalFooterJS.blade.php index 3864674a..9185a00f 100644 --- a/resources/views/Shared/Partials/GlobalFooterJS.blade.php +++ b/resources/views/Shared/Partials/GlobalFooterJS.blade.php @@ -2,7 +2,7 @@ @endif -@if(env('GOOGLE_ANALYTICS_ID')) +@if(config('attendize.google_analytics_id'))