43 lines
1.6 KiB
INI
43 lines
1.6 KiB
INI
[production]
|
|
phpSettings.date.timezone = "Europe/Paris"
|
|
phpSettings.display_startup_errors = 0
|
|
phpSettings.display_errors = 0
|
|
includePaths.library = APPLICATION_PATH "/../library"
|
|
bootstrap.path = APPLICATION_PATH "/Bootstrap.php"
|
|
bootstrap.class = "Bootstrap"
|
|
|
|
; so auto-loading will find our classes in library/App
|
|
autoloaderNamespaces[] = "Structure_" ;Les structures de données
|
|
autoloaderNamespaces[] = "Libs_" ;Librairies de l'application
|
|
resources.view[] = ""
|
|
|
|
; initialize front controller resource
|
|
resources.frontController.moduleDirectory = APPLICATION_PATH "/modules"
|
|
resources.frontController.defaultControllerName = "index"
|
|
resources.frontController.defaultAction = "index"
|
|
resources.frontController.defaultModule = "frontend"
|
|
|
|
autoloaderNamespaces[] = "Application_"
|
|
resources.frontController.plugins.Comptage = "Application_Controller_Plugin_Comptage"
|
|
resources.frontController.plugins.Auth = "Application_Controller_Plugin_Auth"
|
|
|
|
;Resource router Backend
|
|
;resources.router.routes.admin.type = Zend_Controller_Router_Route
|
|
;resources.router.routes.admin.route = "/backend/*"
|
|
;resources.router.routes.admin.defaults.module = backend
|
|
;resources.router.routes.admin.defaults.controller = index
|
|
;resources.router.routes.admin.defaults.action = index
|
|
|
|
; initialize layout resource
|
|
resources.layout.layoutPath = APPLICATION_PATH "/layouts"
|
|
|
|
[staging : production]
|
|
phpSettings.display_startup_errors = 1
|
|
phpSettings.display_errors = 1
|
|
resources.frontController.params.displayExceptions = 1
|
|
|
|
[development : production]
|
|
phpSettings.display_startup_errors = 1
|
|
phpSettings.display_errors = 1
|
|
resources.frontController.params.displayExceptions = 1
|