From 4761f178d4b7820e49ebed9a482613350e071300 Mon Sep 17 00:00:00 2001 From: Tobias Reich Date: Sun, 13 Apr 2014 14:03:33 +0200 Subject: [PATCH] Fixed broken installation --- php/access/installation.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/php/access/installation.php b/php/access/installation.php index ec37586..32f00df 100644 --- a/php/access/installation.php +++ b/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!';