function isLoginAction($action)
{
- static $loginActions = array('login', 'recoverpassword', 'api', 'doc', 'register', 'publicxrds', 'otp', 'opensearch', 'rsd');
+ static $loginActions = array('login', 'recoverpassword', 'api', 'doc', 'register', 'publicxrds', 'otp', 'opensearch', 'rsd', 'hostmeta');
$login = null;
return;
}
- // Note the order here: arguments from the URL mapper will
- // override request params that have been sent. This ensures
- // that for instance an action parameter can't be overridden
- // with an arbitrary action class.
- $args = array_merge($_REQUEST, $args);
+ $args = array_merge($args, $_REQUEST);
Event::handle('ArgsInitialize', array(&$args));