@@ -3,8 +3,8 @@ |
||
| 3 | 3 | * This is the function example script. Load it in your browser to see the result. |
| 4 | 4 | */ |
| 5 | 5 | |
| 6 | -require_once __DIR__."/../vendor/autoload.php"; |
|
| 7 | -require_once __DIR__."/config.php"; |
|
| 6 | +require_once __DIR__ . "/../vendor/autoload.php"; |
|
| 7 | +require_once __DIR__ . "/config.php"; |
|
| 8 | 8 | |
| 9 | 9 | // Make sure config.php sets the $key variable. |
| 10 | 10 | if (empty($key) === true) { |
@@ -213,7 +213,7 @@ |
||
| 213 | 213 | throw new Exception("Images is can't empty.", 1); |
| 214 | 214 | } |
| 215 | 215 | |
| 216 | - $url = $this->endpoint.$this->version."/images:$apiMethod?key=".$this->key; |
|
| 216 | + $url = $this->endpoint . $this->version . "/images:$apiMethod?key=" . $this->key; |
|
| 217 | 217 | return $this->requestServer($url, $this->requestBody); |
| 218 | 218 | } |
| 219 | 219 | |