fixing typo
This commit is contained in:
parent
ec8bfae2c1
commit
19060fa16f
@ -97,7 +97,7 @@ class Install extends Command
|
|||||||
{
|
{
|
||||||
$missing_options = [];
|
$missing_options = [];
|
||||||
|
|
||||||
$contants = [
|
$constants = [
|
||||||
'OPT_LOCALE',
|
'OPT_LOCALE',
|
||||||
'OPT_DB_PORT',
|
'OPT_DB_PORT',
|
||||||
'OPT_DB_HOST',
|
'OPT_DB_HOST',
|
||||||
@ -113,7 +113,7 @@ class Install extends Command
|
|||||||
|
|
||||||
$allowed_empty = ['db_password', 'db_prefix'];
|
$allowed_empty = ['db_password', 'db_prefix'];
|
||||||
|
|
||||||
foreach ($contants as $const) {
|
foreach ($constants as $const) {
|
||||||
$option = constant("self::$const");
|
$option = constant("self::$const");
|
||||||
|
|
||||||
$property = str_replace('-', '_', $option);
|
$property = str_replace('-', '_', $option);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user