]> git.mxchange.org Git - core.git/blobdiff - framework/main/exceptions/crypto/class_EncryptInvalidLengthException.php
Continued:
[core.git] / framework / main / exceptions / crypto / class_EncryptInvalidLengthException.php
index 3980444e9078b18cdffb3f098a3521d151156a3f..0ee59605f664d902ca2b4ca9c3151be4b25d1a8b 100644 (file)
@@ -3,6 +3,7 @@
 namespace Org\Mxchange\CoreFramework\Deprecated;
 
 // Import framework stuff
+use Org\Mxchange\CoreFramework\Bootstrap\FrameworkBootstrap;
 use Org\Mxchange\CoreFramework\Filter\Filterable;
 use Org\Mxchange\CoreFramework\Generic\FrameworkException;
 
@@ -39,7 +40,7 @@ class EncryptInvalidLengthException extends FrameworkException {
         */
        public function __construct (Filterable $filterInstance, $code) {
                // Get length
-               $length = $filterInstance->getConfigInstance()->getConfigEntry('captcha_string_length');
+               $length = FrameworkBootstrap::getConfigurationInstance()->getConfigEntry('captcha_string_length');
 
                // Construct message
                $message = sprintf('[%s:%d] Encrypt string has an invalid length. Valid: %d',