From 247dc126fc04e9507a48cc398433df1f2203ad0e Mon Sep 17 00:00:00 2001 From: Michael RICOIS Date: Tue, 6 Sep 2016 11:40:26 +0200 Subject: [PATCH] Sample config --- docs/application.ini | 58 ++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 58 insertions(+) create mode 100755 docs/application.ini diff --git a/docs/application.ini b/docs/application.ini new file mode 100755 index 000000000..5a4158e07 --- /dev/null +++ b/docs/application.ini @@ -0,0 +1,58 @@ +[production] +phpSettings.date.timezone = "Europe/Paris" +phpSettings.display_startup_errors = 0 +phpSettings.display_errors = 0 +phpSettings.soap.wsdl_cache_dir = "/home/vhosts/data/extranet/temp/wsdl" +bootstrap.path = APPLICATION_PATH "/Bootstrap.php" +bootstrap.class = "Bootstrap" +appnamespace = "Application" +resources.session.save_path = "/home/vhosts/data/extranet/temp/sessions" +resources.useragent.mobile.features.path = APPLICATION_PATH "/../library/Zend/Http/UserAgent/Features/Adapter/Browscap.php" +resources.useragent.mobile.features.classname = "Zend_Http_UserAgent_Features_Adapter_Browscap" +resources.frontController.moduleDirectory = APPLICATION_PATH "/modules" +resources.frontController.controllerDirectory = APPLICATION_PATH "/controllers" +resources.frontController.plugins.Auth = "Application_Controller_Plugin_Auth" +resources.frontController.plugins.Theme = "Application_Controller_Plugin_Theme" +resources.frontController.plugins.Lang = "Application_Controller_Plugin_Lang" +resources.frontController.plugins.Input = "Application_Controller_Plugin_Input" +resources.frontController.plugins.Histo = "Application_Controller_Plugin_Histo" +resources.frontController.plugins.Menu = "Application_Controller_Plugin_Menu" +resources.frontController.plugins.Suivi = "Application_Controller_Plugin_Suivi" +resources.frontController.plugins.Print = "Application_Controller_Plugin_Print" +resources.frontController.plugins.Cgu = "Application_Controller_Plugin_Cgu" +resources.frontController.params.displayExceptions = 0 +resources.layout.layout = "layout" +resources.layout.layoutPath = APPLICATION_PATH "/views/default" +resources.view.basePath = APPLICATION_PATH "/views/default" + +; Scores configuration +profil.server.name = development +profil.webservice.url = "http://webservice.sd.dev" +profil.mail.method = smtp +profil.mail.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.path.shared = "/home/vhosts/data/extranet" +profil.wkhtmltopdf.path = "/usr/local/bin/wkhtmltopdf" +profil.db.sdv1.adapter=mysqli +profil.db.sdv1.params.host=127.0.0.1 +profil.db.sdv1.params.username=root +profil.db.sdv1.params.password=password +profil.db.sdv1.params.dbname=extranet +profil.db.sdv1.params.driver_options.MYSQLI_INIT_COMMAND = "SET NAMES utf8" + +[staging : production] +resources.frontController.params.displayExceptions = 0 +phpSettings.soap.wsdl_cache_enabled = 1 + +[development : production] +phpSettings.display_startup_errors = 1 +phpSettings.display_errors = 0 +phpSettings.soap.wsdl_cache_enabled = 0 +resources.frontController.params.displayExceptions = 1 + +[testing : production] +phpSettings.display_startup_errors = 1 +phpSettings.display_errors = 1 \ No newline at end of file