93 lines
3.7 KiB
INI
93 lines
3.7 KiB
INI
|
[production]
|
||
|
phpSettings.date.timezone = "Europe/Paris"
|
||
|
phpSettings.display_startup_errors = 0
|
||
|
phpSettings.display_errors = 0
|
||
|
bootstrap.path = APPLICATION_PATH "/Bootstrap.php"
|
||
|
bootstrap.class = "Bootstrap"
|
||
|
appnamespace = "Application"
|
||
|
resources.session.save_path = APPLICATION_PATH "/../data/sessions"
|
||
|
resources.frontController.controllerDirectory = APPLICATION_PATH "/controllers"
|
||
|
resources.frontController.plugins.Auth = "Application_Controller_Plugin_Auth"
|
||
|
resources.frontController.params.displayExceptions = 0
|
||
|
resources.layout.layout = "main"
|
||
|
resources.layout.layoutPath = APPLICATION_PATH "/views"
|
||
|
resources.view.basePath = APPLICATION_PATH "/views"
|
||
|
autoloaderNamespaces[] = "Application_"
|
||
|
autoloaderNamespaces[] = "Scores_"
|
||
|
autoloaderNamespaces[] = "Form_"
|
||
|
|
||
|
; Scores configuration
|
||
|
profil.server.name = WebRecette
|
||
|
profil.mail.method = smtp
|
||
|
profil.mail.smtp_host = smtp.free.fr
|
||
|
profil.mail.email.support = supportdev@scores-decisions.com
|
||
|
profil.mail.email.supportdev = supportdev@scores-decisions.com
|
||
|
profil.mail.email.contact = supportdev@scores-decisions.com
|
||
|
profil.mail.email.production = supportdev@scores-decisions.com
|
||
|
profil.wkhtmltopdf.path = "/home/vhosts/dataws/wkhtml"
|
||
|
profil.wkhtmltopdf.arch = "amd64"
|
||
|
profil.path.batch = APPLICATION_PATH "/../scripts/jobs"
|
||
|
profil.path.cache = APPLICATION_PATH "/../data/cache"
|
||
|
profil.path.files = APPLICATION_PATH "/../data/files" ; DOC_WEB_LOCAL
|
||
|
profil.path.data = "/home/vhosts/dataws"
|
||
|
profil.path.secure = "/mnt/datafile" ; SECURE_STORAGE
|
||
|
|
||
|
; For old configuration - see Configure.php
|
||
|
profil.db.default.adapter=mysqli
|
||
|
profil.db.default.params.host=127.0.0.1
|
||
|
profil.db.default.params.username=wsuser
|
||
|
profil.db.default.params.password=wspass2012
|
||
|
profil.db.default.params.driver_options.MYSQLI_INIT_COMMAND = "SET NAMES utf8"
|
||
|
|
||
|
; Complete database configuration
|
||
|
profil.db.sdv1.adapter=mysqli
|
||
|
profil.db.sdv1.params.host=192.168.78.230
|
||
|
profil.db.sdv1.params.username=wsuser
|
||
|
profil.db.sdv1.params.password=wspass2012
|
||
|
profil.db.sdv1.params.dbname=sdv1
|
||
|
profil.db.sdv1.params.driver_options.MYSQLI_INIT_COMMAND = "SET NAMES utf8"
|
||
|
profil.db.sdv1.params.persistent = true
|
||
|
|
||
|
profil.db.jo.adapter=mysqli
|
||
|
profil.db.jo.params.host=192.168.78.230
|
||
|
profil.db.jo.params.username=wsuser
|
||
|
profil.db.jo.params.password=wspass2012
|
||
|
profil.db.jo.params.dbname=jo
|
||
|
profil.db.jo.params.driver_options.MYSQLI_INIT_COMMAND = "SET NAMES utf8"
|
||
|
profil.db.jo.params.persistent = true
|
||
|
|
||
|
profil.db.historiques.adapter=mysqli
|
||
|
profil.db.historiques.params.host=192.168.78.230
|
||
|
profil.db.historiques.params.username=wsuser
|
||
|
profil.db.historiques.params.password=wspass2012
|
||
|
profil.db.historiques.params.dbname=historiques
|
||
|
profil.db.historiques.params.driver_options.MYSQLI_INIT_COMMAND = "SET NAMES utf8"
|
||
|
profil.db.historiques.params.persistent = true
|
||
|
|
||
|
profil.db.Commandes.adapter=mysqli
|
||
|
profil.db.Commandes.params.host=127.0.0.1
|
||
|
profil.db.Commandes.params.username=wsuser
|
||
|
profil.db.Commandes.params.password=wspass2012
|
||
|
profil.db.Commandes.params.dbname=commandes
|
||
|
profil.db.Commandes.params.driver_options.MYSQLI_INIT_COMMAND = "SET NAMES utf8"
|
||
|
profil.db.Commandes.params.persistent = true
|
||
|
|
||
|
profil.db.Webservice.adapter=mysqli
|
||
|
profil.db.Webservice.params.host=127.0.0.1
|
||
|
profil.db.Webservice.params.username=wsuser
|
||
|
profil.db.Webservice.params.password=wspass2012
|
||
|
profil.db.Webservice.params.dbname=webservice
|
||
|
profil.db.Webservice.params.driver_options.MYSQLI_INIT_COMMAND = "SET NAMES utf8"
|
||
|
profil.db.WebServices.params.persistent = true
|
||
|
|
||
|
[staging : production]
|
||
|
resources.frontController.params.displayExceptions = 1
|
||
|
|
||
|
[development : production]
|
||
|
phpSettings.display_startup_errors = 1
|
||
|
phpSettings.display_errors = 1
|
||
|
resources.frontController.params.displayExceptions = 1
|
||
|
|
||
|
[testing : production]
|
||
|
phpSettings.display_startup_errors = 1
|
||
|
phpSettings.display_errors = 1
|