zend framework与config.ini

config.ini 无需对PHP进行编码,即可实现灵活的配置

 

phpSettings.display_startup_errors = 1
phpSettings.display_errors = 1

 

bootstrap.path = APPLICATION_PATH"/Bootstrap.php"
bootstrap.class = "Bootstrap"

 

resources.frontController.controllerDirectory = APPLICATION_PATH "/controllers"
resources.frontController.defaultControllerName = "account"

 

resources.db.adapter = "pdo_mysql"
resources.db.params.host = "localhost"
resources.db.params.username = "root"
resources.db.params.password =
resources.db.params.charset = "UTF8"
resources.db.params.dbname = "groupe8complus"
resources.db.isDefaultTableAdapter = true

 

resources.layout.layoutPath = APPLICATION_PATH "/layouts/scripts"
resources.layout.layout = "layout"

你可能感兴趣的:(framework)