d0cac19a26
Stable
38 lines
1.4 KiB
INI
38 lines
1.4 KiB
INI
[production]
|
|
phpSettings.display_startup_errors = 0
|
|
phpSettings.display_errors = 0
|
|
phpSettings.date.timezone = "Europe/Paris"
|
|
includePaths.library = LIBRARY_PATH
|
|
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"
|
|
|
|
[development : production]
|
|
phpSettings.display_startup_errors = 1
|
|
phpSettings.display_errors = 1
|
|
resources.frontController.params.displayExceptions = 1
|