From 2ee652342b15437daae1f68de07f2fa5169dc7b3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Felix=20K=C3=B6nig?= Date: Fri, 18 Oct 2019 14:39:26 +0200 Subject: [PATCH] Fix minification namings --- Classes/Service/HtmlMinifier.php | 4 ++-- ext_emconf.php | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Classes/Service/HtmlMinifier.php b/Classes/Service/HtmlMinifier.php index a7a517d..ee0b51b 100644 --- a/Classes/Service/HtmlMinifier.php +++ b/Classes/Service/HtmlMinifier.php @@ -27,7 +27,7 @@ * @author Stefan Lamm * @copyright 2019 Pluswerk AG * @license GPL, version 3 - * @package Pluswerk\PlusProject\Hook + * @package Pluswerk\PlusMinify\Hook */ class HtmlMinifier implements MiddlewareInterface { @@ -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'; } } diff --git a/ext_emconf.php b/ext_emconf.php index 7dc6169..e264538 100644 --- a/ext_emconf.php +++ b/ext_emconf.php @@ -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',