Skip to content

A free, self-hostable news aggregator…

Correction préfixe base de données dans install.php

Alexandre Alapetite642d1d378149
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) {