X-Git-Url: https://git.mxchange.org/?p=core.git;a=blobdiff_plain;f=inc%2Fclasses%2Fmain%2Fresolver%2Fcommand%2Fimage%2Fclass_ImageCommandResolver.php;h=71c7a1b4b83b2b7dda4c2eff657e203a2f5f8181;hp=9dca5ec97de1cfcc1a2ad68de43302c6ff28fe39;hb=b9c18d6c24e3be4393bf41005aa4e428a0ea3218;hpb=6d749a6218d922b2f9bca9cc95f67a5cf99ab4fe diff --git a/inc/classes/main/resolver/command/image/class_ImageCommandResolver.php b/inc/classes/main/resolver/command/image/class_ImageCommandResolver.php index 9dca5ec9..71c7a1b4 100644 --- a/inc/classes/main/resolver/command/image/class_ImageCommandResolver.php +++ b/inc/classes/main/resolver/command/image/class_ImageCommandResolver.php @@ -89,7 +89,7 @@ class ImageCommandResolver extends BaseCommandResolver implements CommandResolve $commandName = $requestInstance->getRequestElement('page'); // Is the command empty? Then fall back to default command - if (empty($commandName)) $commandName = $this->getConfigInstance()->readConfig('default_image_command'); + if (empty($commandName)) $commandName = $this->getConfigInstance()->getConfigEntry('default_image_command'); // Check if command is valid if ($this->isCommandValid($commandName) === false) { @@ -125,7 +125,7 @@ class ImageCommandResolver extends BaseCommandResolver implements CommandResolve $commandInstance = null; // Is the command empty? Then fall back to default command - if (empty($commandName)) $commandName = $this->getConfigInstance()->readConfig('default_image_command'); + if (empty($commandName)) $commandName = $this->getConfigInstance()->getConfigEntry('default_image_command'); // Check if command is valid if ($this->isCommandValid($commandName) === false) {