]> git.mxchange.org Git - core.git/blobdiff - inc/classes/main/resolver/command/image/class_ImageCommandResolver.php
readConfig() is not naming convention, renamed to getConfigEntry()
[core.git] / inc / classes / main / resolver / command / image / class_ImageCommandResolver.php
index 9dca5ec97de1cfcc1a2ad68de43302c6ff28fe39..71c7a1b4b83b2b7dda4c2eff657e203a2f5f8181 100644 (file)
@@ -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) {