fixing typo

This commit is contained in:
Sevan Nerse 2020-10-16 12:09:53 +03:00
parent ec8bfae2c1
commit 19060fa16f

View File

@ -97,7 +97,7 @@ class Install extends Command
{
$missing_options = [];
$contants = [
$constants = [
'OPT_LOCALE',
'OPT_DB_PORT',
'OPT_DB_HOST',
@ -113,7 +113,7 @@ class Install extends Command
$allowed_empty = ['db_password', 'db_prefix'];
foreach ($contants as $const) {
foreach ($constants as $const) {
$option = constant("self::$const");
$property = str_replace('-', '_', $option);