Permalink
Browse files

organized config

  • Loading branch information...
warmans committed Feb 10, 2012
1 parent 954509c commit d16809fe588d5f8dd0abbd627c4c31535dfac11d
Showing with 14 additions and 4 deletions.
  1. +14 −4 application/conf/application.ini
@@ -1,19 +1,29 @@
[product]
+
+;layout
application.directory = APP_PATH
application.bootstrap = APP_PATH "/Bootstrap.php"
application.library = APP_PATH "../library"
+;app
+application.baseUri = '' ;not used
application.dispatcher.defaultModule = index
application.dispatcher.defaultController = index
application.dispatcher.defaultAction = index
-application.baseUri = '' ;not used
-application.showErrors=0 ;see Bootstrap::initErrors
+
+;errors
+application.showErrors=0
application.dispatcher.catchException=1 ;enable the error controller
-;database config
+;database
database.adapter = pdo_sqlite
database.params.dbname = APP_PATH "/db/application"
+;database.params.host = db.example.com ;NA when using sqlite
+;database.params.username = dbuser ;NA when using sqlite
+;database.params.password = secret ;NA when using sqlite
[devel : product]
-application.showErrors=1
+
+;errors
+application.showErrors=1 ;see Bootstrap::initErrors

0 comments on commit d16809f

Please sign in to comment.