diff --git a/src/Zikula/CoreInstallerBundle/Helper/ParameterHelper.php b/src/Zikula/CoreInstallerBundle/Helper/ParameterHelper.php index b2ebc3ce1f..8130228b7d 100644 --- a/src/Zikula/CoreInstallerBundle/Helper/ParameterHelper.php +++ b/src/Zikula/CoreInstallerBundle/Helper/ParameterHelper.php @@ -188,7 +188,7 @@ private function writeEnvVars(array $params) $vars = [ 'APP_ENV' => $params['env'] ?? 'prod', 'APP_DEBUG' => isset($params['debug']) ? (int) ($params['debug']) : 0, - 'APP_SECRET' => '\'' . $secret . '\'', + 'APP_SECRET' => '!\'' . $secret . '\'', 'ZIKULA_INSTALLED' => '\'' . ZikulaKernel::VERSION . '\'' ]; (new LocalDotEnvHelper($this->projectDir))->writeLocalEnvVars($vars);