2012-11-30 13:51:48 +00:00
|
|
|
[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
|
2012-12-03 15:24:43 +00:00
|
|
|
profil.path.log = APPLICATION_PATH "/../data/log"
|
2012-11-30 13:51:48 +00:00
|
|
|
profil.path.data = "/home/vhosts/dataws"
|
|
|
|
profil.path.secure = "/mnt/datafile" ; SECURE_STORAGE
|
|
|
|
|
2012-12-03 16:27:32 +00:00
|
|
|
profil.sphinx.ent.host = "192.168.3.32"
|
|
|
|
profil.sphinx.ent.port = 9312
|
|
|
|
profil.sphinx.ent.version = 1
|
|
|
|
profil.sphinx.dir.host = "192.168.3.25"
|
|
|
|
profil.sphinx.dir.port = 3312
|
|
|
|
profil.sphinx.dir.version = 1
|
|
|
|
profil.sphinx.act.host = "192.168.3.25"
|
|
|
|
profil.sphinx.act.port = 3312
|
|
|
|
profil.sphinx.act.version = 1
|
|
|
|
profil.sphinx.histo.host = "192.168.3.25"
|
|
|
|
profil.sphinx.histo.port = 3312
|
|
|
|
profil.sphinx.histo.version = 1
|
|
|
|
|
2012-11-30 13:51:48 +00:00
|
|
|
; For old configuration - see Configure.php
|
|
|
|
profil.db.default.adapter=mysqli
|
2012-12-03 15:24:43 +00:00
|
|
|
profil.db.default.params.host=192.168.3.30
|
2012-11-30 13:51:48 +00:00
|
|
|
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
|
2012-12-03 15:24:43 +00:00
|
|
|
profil.db.sdv1.params.host=192.168.3.30
|
2012-11-30 13:51:48 +00:00
|
|
|
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
|
2012-12-03 15:24:43 +00:00
|
|
|
profil.db.jo.params.host=192.168.3.30
|
2012-11-30 13:51:48 +00:00
|
|
|
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
|
2012-12-03 15:24:43 +00:00
|
|
|
profil.db.historiques.params.host=192.168.3.30
|
2012-11-30 13:51:48 +00:00
|
|
|
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
|
2012-12-03 15:24:43 +00:00
|
|
|
profil.db.Commandes.params.host=192.168.3.30
|
2012-11-30 13:51:48 +00:00
|
|
|
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
|
2012-12-03 15:24:43 +00:00
|
|
|
profil.db.Webservice.params.host=192.168.3.30
|
2012-11-30 13:51:48 +00:00
|
|
|
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
|