Skip to content

Commit f078d2f

Browse files
committed
fix: correct environment variable naming for parallel usage with phplist3
1 parent 1e8a554 commit f078d2f

3 files changed

Lines changed: 3 additions & 7 deletions

File tree

.env.dist

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ PREFERENCEPAGE_SHOW_PRIVATE_LISTS=0
2525
API_BASE_URL=http://api.phplist.local/
2626
FRONT_END_BASE_URL=http://frontend.phplist.local
2727

28-
parallel_use_with_phplist3=0
28+
PARALLER_USE_WITH_PHPLIST3=0
2929

3030
# Email configuration
3131
MAILER_FROM=noreply@phplist.com
@@ -92,4 +92,4 @@ PHPLIST_UPLOADS_MAX_SIZE=5M
9292
PUBLIC_SCHEMA=https
9393
PHPLIST_ATTACHMENT_DOWNLOAD_URL=https://example.com/download/
9494
PHPLIST_ATTACHMENT_REPOSITORY_PATH=/tmp
95-
MAX_AVATAR_SIZE=100000
95+
MAX_AVATAR_SIZE=100000

config/parameters.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ parameters:
2424
app.api_base_url: '%env(API_BASE_URL)%'
2525
app.frontend_base_url: '%env(FRONT_END_BASE_URL)%'
2626

27-
parallel_use_with_phplist3: '%env(parallel_use_with_phplist3)%'
27+
parallel_use_with_phplist3: '%env(PARALLER_USE_WITH_PHPLIST3)%'
2828

2929
# Email configuration
3030
app.mailer_from: '%env(MAILER_FROM)%'

src/Composer/ScriptHandler.php

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -301,10 +301,6 @@ public static function createDotenvConfiguration(): void
301301
public static function createParametersConfiguration(): void
302302
{
303303
$configurationFilePath = self::getApplicationRoot() . self::PARAMETERS_CONFIGURATION_FILE;
304-
if (file_exists($configurationFilePath)) {
305-
return;
306-
}
307-
308304
$templateFilePath = __DIR__ . '/../..' . static::PARAMETERS_CONFIGURATION_FILE;
309305
$configuration = file_get_contents($templateFilePath);
310306

0 commit comments

Comments
 (0)