Modification extreme pour collé à la structure des autres projets

This commit is contained in:
Michael RICOIS 2012-05-02 16:52:28 +00:00
parent 26e2c2ee69
commit bc400c658c
92 changed files with 12 additions and 25 deletions

View File

@ -1,40 +1,27 @@
[production]
;phpSettings.session.gc_maxlifetime = 86400
;phpSettings.session.cookie_lifetime = 86400
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 "/../cache/sessions"
resources.session.gc_maxlifetime = 86400
resources.session.cookie_lifetime = 86400
resources.session.remember_me_seconds = 86400
; 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[] = "Scores_"
autoloaderNamespaces[] = "Application_"
resources.frontController.controllerDirectory = APPLICATION_PATH "/controllers"
resources.frontController.plugins.Auth = "Application_Controller_Plugin_Auth"
resources.frontController.plugins.Comptage = "Application_Controller_Plugin_Comptage"
;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"
resources.frontController.params.displayExceptions = 0
resources.layout.layout = "main"
resources.layout.layoutPath = APPLICATION_PATH "/views/default"
resources.view.basePath = APPLICATION_PATH "/views/default"
autoloaderNamespaces[] = "Application_"
autoloaderNamespaces[] = "Scores_"
autoloaderNamespaces[] = "Form_"
autoloaderNamespaces[] = "Object_"
[staging : production]
phpSettings.display_startup_errors = 1