namespace Org\Mxchange\CoreFramework\Middleware\Compressor;
// Import framework stuff
+use Org\Mxchange\CoreFramework\Bootstrap\FrameworkBootstrap;
use Org\Mxchange\CoreFramework\Compressor\Compressor;
use Org\Mxchange\CoreFramework\Factory\ObjectFactory;
use Org\Mxchange\CoreFramework\Middleware\BaseMiddleware;
) {
// Init base directory
$baseDir =
- $compressorInstance->getConfigInstance()->getConfigEntry('framework_base_path') .
- $compressorInstance->getConfigInstance()->getConfigEntry('compressor_base_path');
+ FrameworkBootstrap::getConfigurationInstance()->getConfigEntry('framework_base_path') .
+ FrameworkBootstrap::getConfigurationInstance()->getConfigEntry('compressor_base_path');
// Get a directory pointer
$directoryInstance = ObjectFactory::createObjectByConfiguredName('directory_class', array($baseDir));