Skip to content

Commit

Permalink
Merge pull request #391 from andersundsehr/bugfix/php-generator
Browse files Browse the repository at this point in the history
πŸ› fix php generator
  • Loading branch information
lochmueller authored Jul 17, 2023
2 parents a1cffe0 + 1974116 commit 19c7013
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Classes/Generator/PhpGenerator.php
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ public function generate(string $entryIdentifier, string $fileName, ResponseInte
$accessTimeout = (int) $configuration->get('htaccessTimeout');
$lifetime = $accessTimeout ?: $lifetime;

$headers = $this->getReponseHeaders($response);
$headers = $configuration->getValidHeaders($response->getHeaders(), 'validHtaccessHeaders');
if ($configuration->isBool('debugHeaders')) {
$headers['X-SFC-State'] = 'StaticFileCache - via PhpGenerator';
}
Expand Down

0 comments on commit 19c7013

Please sign in to comment.