Skip to content

Commit

Permalink
Change to check if app_env equals production.
Browse files Browse the repository at this point in the history
  • Loading branch information
michalstrzelecki committed Mar 13, 2017
1 parent f93d9cd commit 237dc64
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion resources/views/includes/head.blade.php
Expand Up @@ -17,7 +17,7 @@
</script>

@if(option('seo', 'google_analytics_id') && env('production'))
@if(option('seo', 'google_analytics_id') && env('APP_ENV') === 'production')
<!-- Google Analytics web tracking code -->
<script type="text/javascript">
(function(i, s, o, g, r, a, m) {
Expand Down

0 comments on commit 237dc64

Please sign in to comment.