Move php settings to ini file

This commit is contained in:
Michael RICOIS 2011-08-19 14:05:18 +00:00
parent d971dcd385
commit b5871f8ec7
3 changed files with 4 additions and 3 deletions

View File

@ -19,10 +19,12 @@ resources.view.basePath = APPLICATION_PATH "/views/default"
[staging : production]
resources.frontController.params.displayExceptions = 1
phpSettings.soap.wsdl_cache_enabled = 0
[development : production]
phpSettings.display_startup_errors = 1
phpSettings.display_errors = 1
phpSettings.soap.wsdl_cache_enabled = 0
resources.frontController.params.displayExceptions = 1
[testing : production]

View File

@ -13,8 +13,8 @@ webservices.entreprise.wsdl = "http://wse.scores-decisions.com:8081/entreprise/v
webservices.entreprise.options.soap_version = SOAP_1_2
[development]
webservices.interne.wsdl = "http://webservice.sd.lan/interne/v0.2?wsdl"
webservices.interne.wsdl = "http://webservice.sd.dev/interne/v0.2?wsdl"
webservices.interne.options.soap_version = SOAP_1_2
webservices.entreprise.wsdl = "http://webservice.sd.lan/entreprise/v0.3?wsdl-auto"
webservices.entreprise.wsdl = "http://webservice.sd.dev/entreprise/v0.3?wsdl-auto"
webservices.entreprise.options.soap_version = SOAP_1_2

View File

@ -1,5 +1,4 @@
<?php
ini_set("soap.wsdl_cache_enabled", "0");
// Define path to application directory
defined('APPLICATION_PATH')
|| define('APPLICATION_PATH', realpath(dirname(__FILE__) . '/../application'));