@@ -2,4 +2,4 @@ |
||
| 2 | 2 | /** |
| 3 | 3 | * @author Chris Hilsdon <[email protected]> |
| 4 | 4 | */ |
| 5 | -require __DIR__ . '/../vendor/autoload.php'; |
|
| 5 | +require __DIR__.'/../vendor/autoload.php'; |
|
@@ -25,9 +25,9 @@ |
||
| 25 | 25 | $configDist = $config.'.dist'; |
| 26 | 26 | $dir = $_SERVER['DOCUMENT_ROOT']; |
| 27 | 27 | |
| 28 | - if (@file_exists($dir . $config)) { |
|
| 28 | + if (@file_exists($dir.$config)) { |
|
| 29 | 29 | $load = $config; |
| 30 | - } elseif (@file_exists($dir . $configDist)) { |
|
| 30 | + } elseif (@file_exists($dir.$configDist)) { |
|
| 31 | 31 | $load = $configDist; |
| 32 | 32 | } else { |
| 33 | 33 | die('Unable to load either "'.$config.'" or "'.$configDist.'"'); |
@@ -11,7 +11,7 @@ |
||
| 11 | 11 | public function makeRequest($request = "", $type = "GET") |
| 12 | 12 | { |
| 13 | 13 | $client = new Client(); |
| 14 | - $this->request = $client->request($type, $this->CF->Endpoint . $request, [ |
|
| 14 | + $this->request = $client->request($type, $this->CF->Endpoint.$request, [ |
|
| 15 | 15 | 'headers' => [ |
| 16 | 16 | 'X-Auth-Key' => $this->CF->APIKEY, |
| 17 | 17 | 'X-Auth-Email' => $this->CF->Email |