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;
*/
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',