Skip to content

Commit

Permalink
Do not check for any config file, just the directory to show the logi…
Browse files Browse the repository at this point in the history
…n-warning

refs #7163
  • Loading branch information
Johannes Meyer committed Nov 12, 2014
1 parent b27d1d0 commit 2eb9a77
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion application/controllers/AuthenticationController.php
Expand Up @@ -146,7 +146,7 @@ public function loginAction()
$this->view->errorInfo = $e->getMessage();
}

$this->view->configMissing = Config::app()->isEmpty();
$this->view->configMissing = is_dir(Config::$configDir) === false;
}

/**
Expand Down

0 comments on commit 2eb9a77

Please sign in to comment.