Fixed installer db prefix empty..
This commit is contained in:
parent
ff5aaeba79
commit
5eb1ef0156
@ -205,7 +205,7 @@ class Installer
|
|||||||
|
|
||||||
public static function saveDbVariables($host, $port, $database, $username, $password, $prefix = null)
|
public static function saveDbVariables($host, $port, $database, $username, $password, $prefix = null)
|
||||||
{
|
{
|
||||||
$prefix = !is_null($prefix) ? $prefix : strtolower(Str::random(3) . '_');
|
$prefix = !empty($prefix) ? $prefix : strtolower(Str::random(3) . '_');
|
||||||
|
|
||||||
// Update .env file
|
// Update .env file
|
||||||
static::updateEnv([
|
static::updateEnv([
|
||||||
|
Loading…
x
Reference in New Issue
Block a user