Bladeren bron

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

https://github.com/marienfressinaud/FreshRSS/issues/273
Alexandre Alapetite 12 jaren geleden
bovenliggende
commit
642d1d3781
1 gewijzigde bestanden met toevoegingen van 1 en 0 verwijderingen
  1. 1 0
      public/install.php

+ 1 - 0
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) {