Browse Source

improve key generation.

Taylor Otwell 13 years ago
parent
commit
b9f6d162e6
2 changed files with 5 additions and 3 deletions
  1. 3 3
      application/config/database.php
  2. 2 0
      laravel/cli/tasks/key.php

+ 3 - 3
application/config/database.php

@@ -45,7 +45,7 @@ return array(
 			'host'     => 'localhost',
 			'database' => 'database',
 			'username' => 'root',
-			'password' => 'password',
+			'password' => '',
 			'charset'  => 'utf8',
 		),
 
@@ -54,7 +54,7 @@ return array(
 			'host'     => 'localhost',
 			'database' => 'database',
 			'username' => 'root',
-			'password' => 'password',
+			'password' => '',
 			'charset'  => 'utf8',
 		),
 
@@ -63,7 +63,7 @@ return array(
 			'host'     => 'localhost',
 			'database' => 'database',
 			'username' => 'root',
-			'password' => 'password',
+			'password' => '',
 		),
 
 	),

+ 2 - 0
laravel/cli/tasks/key.php

@@ -48,6 +48,8 @@ class Key extends Task {
 		{
 			echo "An application key already exists!";
 		}
+
+		echo PHP_EOL;
 	}
 
 }