@@ -16,7 +16,7 @@ |
||
16 | 16 | /** Only load the HTTPFul bootstrap if it isn't already loaded*/ |
17 | 17 | if(!class_exists('Httpful\Request')) |
18 | 18 | { |
19 | - require dirname(__FILE__) . '/../../libs/httpful/bootstrap.php'; |
|
19 | + require dirname(__FILE__).'/../../libs/httpful/bootstrap.php'; |
|
20 | 20 | } |
21 | 21 | |
22 | 22 | /** |
@@ -1,6 +1,6 @@ discard block |
||
1 | 1 | <?php |
2 | 2 | namespace Auth; |
3 | -require dirname(__FILE__) . '/../libs/google/src/Google/autoload.php'; |
|
3 | +require dirname(__FILE__).'/../libs/google/src/Google/autoload.php'; |
|
4 | 4 | |
5 | 5 | class GoogleAuthenticator extends Authenticator |
6 | 6 | { |
@@ -34,7 +34,7 @@ discard block |
||
34 | 34 | public function authenticate($code, &$currentUser = false) |
35 | 35 | { |
36 | 36 | $googleUser = false; |
37 | - try{ |
|
37 | + try { |
|
38 | 38 | $this->client->authenticate($code); |
39 | 39 | $this->token = $this->client->getAccessToken(); |
40 | 40 | \FlipSession::setVar('GoogleToken', $this->token); |