Skip to content

Commit

Permalink
added env
Browse files Browse the repository at this point in the history
  • Loading branch information
pulkitjalan committed Oct 29, 2015
1 parent 1a644f2 commit 7fcd587
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions src/config/config.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
| Google application name
|----------------------------------------------------------------------------
*/
'application_name' => '',
'application_name' => env('GOOGLE_APPLICATION_NAME', ''),

/*
|----------------------------------------------------------------------------
Expand All @@ -17,9 +17,9 @@
| https://developers.google.com/console
|
*/
'client_id' => '',
'client_secret' => '',
'redirect_uri' => '',
'client_id' => env('GOOGLE_CLIENT_ID', ''),
'client_secret' => env('GOOGLE_CLIENT_SECRET', ''),
'redirect_uri' => env('GOOGLE_REDIRECT', ''),
'scopes' => [],
'access_type' => 'online',
'approval_prompt' => 'auto',
Expand All @@ -33,7 +33,7 @@
| a Server key, and not a Browser key.
|
*/
'developer_key' => '',
'developer_key' => env('GOOGLE_DEVELOPER_KEY', ''),

/*
|----------------------------------------------------------------------------
Expand All @@ -48,12 +48,12 @@
/*
| Enable service account auth or not.
*/
'enable' => false,
'enable' => env('GOOGLE_SERVICE_ENABLED', false),

/*
| Example xxx@developer.gserviceaccount.com
*/
'account' => '',
'account' => env('GOOGLE_SERVICE_ACCOUNT', ''),

/*
| Example ['https://www.googleapis.com/auth/cloud-platform']
Expand All @@ -64,6 +64,6 @@
| Path to key file
| Example storage_path().'/key/google.p12'
*/
'key' => '',
'key' => storage_path().env('GOOGLE_SERVICE_KEY', ''),
],
];

0 comments on commit 7fcd587

Please sign in to comment.