@@ -69,7 +69,7 @@ discard block |
||
| 69 | 69 | $returnArray = []; |
| 70 | 70 | $returnArray['status'] = $status; |
| 71 | 71 | $returnArray['data'] = $data; |
| 72 | - $returnArray['tou'] = "Please consult Terms of Use at: //" . $host . \core\CAT::getRootUrlPath() . "/tou.php"; |
|
| 72 | + $returnArray['tou'] = "Please consult Terms of Use at: //".$host.\core\CAT::getRootUrlPath()."/tou.php"; |
|
| 73 | 73 | if (!empty($otherData)) { |
| 74 | 74 | $returnArray['otherdata'] = $otherData; |
| 75 | 75 | } |
@@ -324,7 +324,7 @@ discard block |
||
| 324 | 324 | public function sendLogo($identifier, $type, $width, $height) |
| 325 | 325 | { |
| 326 | 326 | $logo = $this->getLogo($identifier, $type, $width, $height); |
| 327 | - header("Content-type: " . $logo['filetype']); |
|
| 327 | + header("Content-type: ".$logo['filetype']); |
|
| 328 | 328 | header("Cache-Control:max-age=36000, must-revalidate"); |
| 329 | 329 | header($logo['expires']); |
| 330 | 330 | echo $logo['blob']; |
@@ -417,7 +417,7 @@ |
||
| 417 | 417 | } else { |
| 418 | 418 | $logoAttribute = $entity->getAttributes($attributeName[$type]); |
| 419 | 419 | if (count($logoAttribute) == 0) { |
| 420 | - $blob = file_get_contents(ROOT . '/web/resources/images/empty.png'); |
|
| 420 | + $blob = file_get_contents(ROOT.'/web/resources/images/empty.png'); |
|
| 421 | 421 | $expiresString = $this->logoExpireTime(); |
| 422 | 422 | } else { |
| 423 | 423 | $this->loggerInstance->debug(4, "RESIZE:$width:$height\n"); |