Skip to content

Commit

Permalink
Fix minification namings
Browse files Browse the repository at this point in the history
  • Loading branch information
Felix König committed Oct 18, 2019
1 parent 585d6b2 commit 2ee6523
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions Classes/Service/HtmlMinifier.php
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
* @author Stefan Lamm <stefan.lamm@pluswerk.ag>
* @copyright 2019 Pluswerk AG
* @license GPL, version 3
* @package Pluswerk\PlusProject\Hook
* @package Pluswerk\PlusMinify\Hook
*/
class HtmlMinifier implements MiddlewareInterface
{
Expand Down Expand Up @@ -94,6 +94,6 @@ public function process(ServerRequestInterface $request, RequestHandlerInterface

protected function isFeatureActive(string $feature): bool
{
return isset($GLOBALS['TYPO3_CONF_VARS']['EXTENSIONS']['plus_minify'][$feature]) && $GLOBALS['TYPO3_CONF_VARS']['EXTENSIONS']['plus_minify'][$feature] === '1';
return isset($GLOBALS['TYPO3_CONF_VARS']['EXTENSIONS']['minify'][$feature]) && $GLOBALS['TYPO3_CONF_VARS']['EXTENSIONS']['minify'][$feature] === '1';
}
}
2 changes: 1 addition & 1 deletion ext_emconf.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
'uploadfolder' => '0',
'createDirs' => '',
'clearCacheOnLoad' => 0,
'version' => '1.0.1',
'version' => '1.0.2',
'constraints' =>[
'depends' => [
'typo3' => '9.5.0-9.99.99',
Expand Down

0 comments on commit 2ee6523

Please sign in to comment.