Browse Source

Fixed create config function not stoping execution

Tobias Reich 8 years ago
parent
commit
bd0f23ed5c
1 changed files with 1 additions and 1 deletions
  1. 1 1
      php/Access/Installation.php

+ 1 - 1
php/Access/Installation.php

@@ -26,7 +26,7 @@ final class Installation extends Access {
 
 		Validator::required(isset($_POST['dbHost'], $_POST['dbUser'], $_POST['dbPassword'], $_POST['dbName'], $_POST['dbTablePrefix']), __METHOD__);
 
-		echo Config::create($_POST['dbHost'], $_POST['dbUser'], $_POST['dbPassword'], $_POST['dbName'], $_POST['dbTablePrefix']);
+		Response::json(Config::create($_POST['dbHost'], $_POST['dbUser'], $_POST['dbPassword'], $_POST['dbName'], $_POST['dbTablePrefix']));
 
 	}