Skip to content

Commit

Permalink
πŸ› fix php generator
Browse files Browse the repository at this point in the history
  • Loading branch information
Kanti committed Jul 17, 2023
1 parent ddd51b7 commit 1974116
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 1974116

Please sign in to comment.