sonde dnma alone
This commit is contained in:
parent
3ca1bf3d31
commit
5dc5ea4644
|
@ -1,36 +1,19 @@
|
||||||
# In all environments, the following files are loaded if they exist,
|
# Symfony
|
||||||
# the latter taking precedence over the former:
|
APP_ENV=PROD
|
||||||
#
|
APP_SECRET=changemeinenvlocal
|
||||||
# * .env contains default values for the environment variables needed by the app
|
|
||||||
# * .env.local uncommitted file with local overrides
|
|
||||||
# * .env.$APP_ENV committed environment-specific defaults
|
|
||||||
# * .env.$APP_ENV.local uncommitted environment-specific overrides
|
|
||||||
#
|
|
||||||
# Real environment variables win over .env files.
|
|
||||||
#
|
|
||||||
# DO NOT DEFINE PRODUCTION SECRETS IN THIS FILE NOR IN ANY OTHER COMMITTED FILES.
|
|
||||||
#
|
|
||||||
# Run "composer dump-env prod" to compile .env files for production use (requires symfony/flex >=1.2).
|
|
||||||
# https://symfony.com/doc/current/best_practices.html#use-environment-variables-for-infrastructure-configuration
|
|
||||||
|
|
||||||
###> symfony/framework-bundle ###
|
|
||||||
APP_SECRET=52c1cb88ee822cd2643abe29e16a68a6
|
|
||||||
#TRUSTED_PROXIES=127.0.0.0/8,10.0.0.0/8,172.16.0.0/12,192.168.0.0/16
|
#TRUSTED_PROXIES=127.0.0.0/8,10.0.0.0/8,172.16.0.0/12,192.168.0.0/16
|
||||||
#TRUSTED_HOSTS='^(localhost|example\.com)$'
|
#TRUSTED_HOSTS='^(localhost|example\.com)$'
|
||||||
###< symfony/framework-bundle ###
|
|
||||||
|
|
||||||
###> symfony/mailer ###
|
|
||||||
# MAILER_DSN=smtp://localhost
|
|
||||||
###< symfony/mailer ###
|
|
||||||
|
|
||||||
###< doctrine/doctrine-bundle ###
|
|
||||||
|
|
||||||
# Basic
|
# Basic
|
||||||
|
APP_WEBURL=
|
||||||
|
APP_MASTERIDENTITY=SQL
|
||||||
|
APP_AUTH=SQL
|
||||||
APP_ALIAS=
|
APP_ALIAS=
|
||||||
APP_AUTH=MYSQL
|
|
||||||
APP_NAME=
|
APP_NAME=
|
||||||
APP_ENV=PROD
|
APP_CRON=1
|
||||||
APP_CRON=false
|
APP_MASTERURL=
|
||||||
|
APP_MASTERKEY=
|
||||||
|
|
||||||
# BDD
|
# BDD
|
||||||
DATABASE_NAME=
|
DATABASE_NAME=
|
||||||
|
@ -38,12 +21,15 @@ DATABASE_USER=
|
||||||
DATABASE_PASSWORD=
|
DATABASE_PASSWORD=
|
||||||
DATABASE_HOST=
|
DATABASE_HOST=
|
||||||
|
|
||||||
|
|
||||||
# MAIL sendmail / smtp
|
# MAIL sendmail / smtp
|
||||||
MAILER_METHOD=sendmail
|
MAILER_METHOD=sendmail
|
||||||
MAILER_URL=
|
MAILER_URL=
|
||||||
MAILER_NOREPLY=noreply@noreply.fr
|
MAILER_NOREPLY=noreply@noreply.fr
|
||||||
|
|
||||||
|
|
||||||
# LDAP
|
# LDAP
|
||||||
|
LDAP_MODEL=open
|
||||||
LDAP_HOST=
|
LDAP_HOST=
|
||||||
LDAP_PORT=
|
LDAP_PORT=
|
||||||
LDAP_USER=
|
LDAP_USER=
|
||||||
|
@ -55,6 +41,7 @@ LDAP_LASTNAME=sn
|
||||||
LDAP_EMAIL=mail
|
LDAP_EMAIL=mail
|
||||||
LDAP_ADMINS='["admin"]'
|
LDAP_ADMINS='["admin"]'
|
||||||
|
|
||||||
|
|
||||||
# If APP_AUTH = CAS
|
# If APP_AUTH = CAS
|
||||||
CAS_HOST=
|
CAS_HOST=
|
||||||
CAS_PORT=
|
CAS_PORT=
|
||||||
|
@ -64,9 +51,17 @@ CAS_EMAIL=email
|
||||||
CAS_LASTNAME=lastname
|
CAS_LASTNAME=lastname
|
||||||
CAS_FIRSTNAME=firstname
|
CAS_FIRSTNAME=firstname
|
||||||
|
|
||||||
###> symfony/swiftmailer-bundle ###
|
|
||||||
# For Gmail as a transport, use: "gmail://username:password@localhost"
|
# WEBSOCKET
|
||||||
# For a generic SMTP server, use: "smtp://localhost:25?encryption=&auth_mode="
|
WSS_USE=1
|
||||||
# Delivery is disabled by default via "null://localhost"
|
WSS_PORT=5546
|
||||||
MAILER_URL=null://localhost
|
|
||||||
###< symfony/swiftmailer-bundle ###
|
|
||||||
|
# Proxy
|
||||||
|
PROXY_USE=0
|
||||||
|
PROXY_HOST=
|
||||||
|
PROXY_PORT=
|
||||||
|
|
||||||
|
|
||||||
|
# Sonde statistic
|
||||||
|
SONDE_USE=0
|
||||||
|
|
|
@ -15,6 +15,5 @@ twig:
|
||||||
wssuse: '%wssuse%'
|
wssuse: '%wssuse%'
|
||||||
wssurl: '%wssurl%'
|
wssurl: '%wssurl%'
|
||||||
sondeUse: '%sondeUse%'
|
sondeUse: '%sondeUse%'
|
||||||
sondeUrl: '%sondeUrl%'
|
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -56,7 +56,6 @@ parameters:
|
||||||
proxyPort: '%env(resolve:PROXY_PORT)%'
|
proxyPort: '%env(resolve:PROXY_PORT)%'
|
||||||
|
|
||||||
sondeUse: '%env(resolve:SONDE_USE)%'
|
sondeUse: '%env(resolve:SONDE_USE)%'
|
||||||
sondeUrl: '%env(resolve:SONDE_URL)%'
|
|
||||||
|
|
||||||
services:
|
services:
|
||||||
# default configuration for services in *this* file
|
# default configuration for services in *this* file
|
||||||
|
|
|
@ -65,4 +65,3 @@ PROXY_PORT=
|
||||||
|
|
||||||
# Sonde statistic
|
# Sonde statistic
|
||||||
SONDE_USE=0
|
SONDE_USE=0
|
||||||
SONDE_URL=
|
|
||||||
|
|
|
@ -112,11 +112,10 @@ PROXY_PORT=
|
||||||
# Sonde statistic
|
# Sonde statistic
|
||||||
%if %%getVar("activer_sondepiwik_local", 'non') == "oui"
|
%if %%getVar("activer_sondepiwik_local", 'non') == "oui"
|
||||||
SONDE_USE=1
|
SONDE_USE=1
|
||||||
SONDE_URL=/sondepiwik/envoleTrackeur.js.php
|
|
||||||
%else if %%getVar("activer_piwik", 'non') == "oui"
|
%else if %%getVar("activer_piwik", 'non') == "oui"
|
||||||
SONDE_USE=1
|
SONDE_USE=1
|
||||||
SONDE_URL=/piwik/envoleTrackeur.js.php
|
%else if %%getVar("activer_sondednma", 'non') == "oui"
|
||||||
|
SONDE_USE=1
|
||||||
%else
|
%else
|
||||||
SONDE_USE=0
|
SONDE_USE=0
|
||||||
SONDE_URL=
|
|
||||||
%end if
|
%end if
|
Loading…
Reference in New Issue