$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) {
$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) {