Browse Source

Fixed broken installation

Tobias Reich 11 years ago
parent
commit
4761f178d4
1 changed files with 2 additions and 2 deletions
  1. 2 2
      php/access/installation.php

+ 2 - 2
php/access/installation.php

@@ -11,8 +11,8 @@ if (!defined('LYCHEE_ACCESS_INSTALLATION')) exit('Error: You are not allowed to
 
 switch ($_POST['function']) {
 
-	case 'dbCreateConfig':	if (!isset($_POST['dbHost'], $_POST['dbUser'], $_POST['dbPassword'], $_POST['dbName'], $_POST['version'])) exit();
-							echo Database::createConfig($_POST['dbHost'], $_POST['dbUser'], $_POST['dbPassword'], $_POST['dbName'], $_POST['version']);
+	case 'dbCreateConfig':	if (!isset($_POST['dbHost'], $_POST['dbUser'], $_POST['dbPassword'], $_POST['dbName'])) exit();
+							echo Database::createConfig($_POST['dbHost'], $_POST['dbUser'], $_POST['dbPassword'], $_POST['dbName']);
 							break;
 
 	default:				echo 'Warning: No configuration!';