Skip to content

Commit

Permalink
Don't redirect on CLI.
Browse files Browse the repository at this point in the history
  • Loading branch information
yunosh committed Jun 3, 2014
1 parent 5a27c62 commit 5410fbb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion framework/Core/lib/Horde/Registry.php
Expand Up @@ -327,7 +327,7 @@ static public function appInit($app, array $args = array())

case self::NOT_ACTIVE:
/* Try redirect to Horde if an app is not active. */
if ($app != 'horde') {
if (!$args['cli'] && $app != 'horde') {
$GLOBALS['notification']->push($e, 'horde.error');
Horde::url($registry->getInitialPage('horde'))->redirect();
}
Expand Down

0 comments on commit 5410fbb

Please sign in to comment.