CLI allow empty DB prefix (#4488)

Allow an empty `--db-prefix` parameter (i.e. optional) in CLI to have no DB prefix
edge
Alexandre Alapetite 2 years ago committed by GitHub
parent 8bb11bd4f8
commit 6af7854de3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      cli/do-install.php
  2. 2
      cli/reconfigure.php

@ -26,7 +26,7 @@ $dBparams = array(
'db-user:',
'db-password:',
'db-base:',
'db-prefix:',
'db-prefix::',
);
$options = getopt('', array_merge($params, $dBparams));

@ -22,7 +22,7 @@ $dBparams = array(
'db-user:',
'db-password:',
'db-base:',
'db-prefix:',
'db-prefix::',
);
$options = getopt('', array_merge($params, $dBparams));

Loading…
Cancel
Save