tweaking key setting.

This commit is contained in:
Taylor Otwell
2012-02-15 13:17:45 -06:00
parent 82315f31d5
commit 6e83add76f
3 changed files with 1 additions and 23 deletions

View File

@@ -57,9 +57,7 @@ ini_set('display_errors', Config::get('error.display'));
* string for the developer. This provides the developer with
* a zero configuration install process.
*/
$key = Config::get('application.key');
if ($key == '' and Config::get('key.auto'))
if (Config::get('application.key') == '')
{
ob_start() and with(new CLI\Tasks\Key)->generate();