*
* @author Roland Haeder <webmaster@ship-simu.org>
* @version 0.0.0
- * @copyright Copyright (c) 2007, 2008 Roland Haeder, 2009 Core Developer Team
+ * @copyright Copyright (c) 2007, 2008 Roland Haeder, 2009, 2010 Core Developer Team
* @license GNU GPL 3.0 or any newer version
* @link http://www.ship-simu.org
*
$actionName = '';
$actionInstance = null;
- // This goes fine so let's resolv the action
+ // This goes fine so let's resolve the action
$actionName = $requestInstance->getRequestElement('action');
// Is the action empty? Then fall back to default action
- if (empty($actionName)) $actionName = $this->getConfigInstance()->readConfig('default_action');
+ if (empty($actionName)) $actionName = $this->getConfigInstance()->getConfigEntry('default_action');
// Check if action is valid
if ($this->isActionValid($actionName) === false) {
$actionName = $this->getActionName();
// Is the action empty? Then fall back to default action
- if (empty($actionName)) $actionName = $this->getConfigInstance()->readConfig('default_action');
+ if (empty($actionName)) $actionName = $this->getConfigInstance()->getConfigEntry('default_action');
// Check if action is valid
if ($this->isActionValid($actionName) === false) {