Explorar el Código

fix .env APP_DEBUG definition

Olivier Massot hace 3 años
padre
commit
c779c3f674
Se han modificado 3 ficheros con 1 adiciones y 5 borrados
  1. 1 0
      .env
  2. 0 1
      .env.ci
  3. 0 4
      .env.prod

+ 1 - 0
.env

@@ -14,6 +14,7 @@
 # https://symfony.com/doc/current/best_practices.html#use-environment-variables-for-infrastructure-configuration
 
 ###> symfony/framework-bundle ###
+APP_DEBUG=0
 APP_SECRET=6a76497c8658bb23e2236f97a2627df3
 ###< symfony/framework-bundle ###
 

+ 0 - 1
.env.ci

@@ -1,5 +1,4 @@
 ###> symfony/framework-bundle ###
-APP_ENV=dev
 APP_DEBUG=1
 APP_SECRET=6a76497c8658bb23e2236f97a2627df3
 #TRUSTED_PROXIES=127.0.0.0/8,10.0.0.0/8,172.16.0.0/12,192.168.0.0/16

+ 0 - 4
.env.prod

@@ -1,7 +1,3 @@
-###> symfony/framework-bundle ###
-APP_DEBUG=0
-###< symfony/framework-bundle ###
-
 ###> doctrine/doctrine-bundle ###
 # Format described at https://www.doctrine-project.org/projects/doctrine-dbal/en/latest/reference/configuration.html#connecting-using-a-url
 # IMPORTANT: You MUST configure your server version, either here or in config/packages/doctrine.yaml