1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44
| [production]
; PHP settings we want to initialize
phpSettings.display_startup_errors = 0
phpSettings.display_errors = 0
; Make sure the following is on the include_path
includePaths.library = APPLICATION_PATH "/../library"
; Indicate the path and classname of the bootstrap
bootstrap.path = APPLICATION_PATH "/Bootstrap.php"
bootstrap.class = "Bootstrap"
; Bootstrap resources:
; - Front Controller
; - Layout
; - Database
resources.frontController.controllerDirectory = APPLICATION_PATH "/controllers"
resources.layout.layoutPath = APPLICATION_PATH "/layouts/scripts"
resources.view[] =
resources.db.adapter = "mysqli"
resources.db.params.dbname = "**ma_base_de_prod**"
resources.db.params.host = "localhost"
resources.db.params.username = "**mon_user_de_prod**"
resources.db.params.password = "**mon_pass_de_prod**"
[testing : production]
; For testing, we want to display errors and use a different database
phpSettings.display_startup_errors = 1
phpSettings.display_errors = 1
resources.db.adapter = "mysqli"
resources.db.params.dbname = "asklist"
resources.db.params.host = "localhost"
resources.db.params.username = "root"
resources.db.params.password = ""
[development : production]
; For development, we want to display errors and use a different database
phpSettings.display_startup_errors = 1
phpSettings.display_errors = 1
resources.db.adapter = "mysqli"
resources.db.params.dbname = "asklist"
resources.db.params.host = "localhost"
resources.db.params.username = "root"
resources.db.params.password = "" |
Partager