summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormentos2011-02-03 15:56:33 +0100
committermentos2011-02-03 15:56:33 +0100
commitd31ec6f3b9a96a7d4ed821ba38d8b7d3a9508f11 (patch)
treecb3d5bcfc40daea8be37a3f1fd4ed129d4cfba11
parentapplication.ini passwoerter entfernt (diff)
downloadpbs2-d31ec6f3b9a96a7d4ed821ba38d8b7d3a9508f11.tar.gz
pbs2-d31ec6f3b9a96a7d4ed821ba38d8b7d3a9508f11.tar.xz
pbs2-d31ec6f3b9a96a7d4ed821ba38d8b7d3a9508f11.zip
passwoerter entfernt
-rw-r--r--.gitignore1
-rw-r--r--application/configs/application.ini.dist26
2 files changed, 27 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
index d31b9ca..b6618cb 100644
--- a/.gitignore
+++ b/.gitignore
@@ -2,3 +2,4 @@ library/
.project
.buildpath
.settings/
+application/config/application.ini
diff --git a/application/configs/application.ini.dist b/application/configs/application.ini.dist
new file mode 100644
index 0000000..70ce3e4
--- /dev/null
+++ b/application/configs/application.ini.dist
@@ -0,0 +1,26 @@
+[production]
+phpSettings.display_startup_errors = 0
+phpSettings.display_errors = 0
+includePaths.library = APPLICATION_PATH "/../library"
+bootstrap.path = APPLICATION_PATH "/Bootstrap.php"
+bootstrap.class = "Bootstrap"
+appnamespace = "Application"
+resources.frontController.controllerDirectory = APPLICATION_PATH "/controllers"
+resources.frontController.params.displayExceptions = 0
+resources.db.adapter = PDO_MYSQL
+resources.db.params.host = localhost
+resources.db.params.username = root
+resources.db.params.password =
+resources.db.params.dbname = pbs
+resources.db.isDefaultTableAdapter = true
+
+[staging : production]
+
+[testing : production]
+phpSettings.display_startup_errors = 1
+phpSettings.display_errors = 1
+
+[development : production]
+phpSettings.display_startup_errors = 1
+phpSettings.display_errors = 1
+resources.frontController.params.displayExceptions = 1