Commit 3788618a2ec3416e3862e3a42ddd21df34ff2566

Authored by Alex Savenko
1 parent a87b0e3d

ga response

Showing 1 changed file with 1 additions and 1 deletions   Show diff stats
app/library/App/Controllers/GaController.php
... ... @@ -25,7 +25,7 @@ class GaController extends CrudResourceController {
25 25  
26 26 public function getAction() {
27 27  
28   - $metric = $this->request->getServer('metric');
  28 + $metric = $this->request->get('metric');
29 29  
30 30 putenv('GOOGLE_APPLICATION_CREDENTIALS=/var/www/phalcon/'.self::SECRET_JSON);
31 31 $client = new Google_Client();
... ...