Explorar el Código

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

https://github.com/marienfressinaud/FreshRSS/issues/273
Alexandre Alapetite hace 12 años
padre
commit
642d1d3781
Se han modificado 1 ficheros con 1 adiciones y 0 borrados
  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) {