From 642d1d378149db97e8e510b15ff6d9ec5f54b4d2 Mon Sep 17 00:00:00 2001 From: Alexandre Alapetite Date: Sun, 17 Nov 2013 17:39:24 +0100 Subject: Correction préfixe base de données dans install.php MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit https://github.com/marienfressinaud/FreshRSS/issues/273 --- public/install.php | 1 + 1 file changed, 1 insertion(+) (limited to 'public/install.php') diff --git a/public/install.php b/public/install.php index 9f576c7c9..ba8fe3675 100644 --- a/public/install.php +++ b/public/install.php @@ -218,6 +218,7 @@ function saveStep3 () { writeLine ($f, 'prefix = "' . $_SESSION['bd_prefix'] . '"'); fclose ($f); + $_SESSION['bd_prefix'] .= (empty($_SESSION['default_user']) ? '' : ($_SESSION['default_user'] . '_')); $res = checkBD (); if ($res) { -- cgit v1.2.3