PHP cleanup & mongo config

This commit is contained in:
magnolia-fan
2011-04-12 11:57:09 +04:00
parent 91a664016e
commit eb243dcd0e
392 changed files with 3 additions and 104683 deletions
+3 -7
View File
@@ -1,6 +1,7 @@
defaults: &defaults
host: 192.168.0.100
port: 27017
database: beathaven
# slaves:
# - host: slave1.local
# port: 27018
@@ -9,16 +10,11 @@ defaults: &defaults
development:
<<: *defaults
database: beathaven
test:
<<: *defaults
database: beathaven_test
# set these environment variables on your prod server
production:
host: <%= ENV['MONGOID_HOST'] %>
port: <%= ENV['MONGOID_PORT'] %>
username: <%= ENV['MONGOID_USERNAME'] %>
password: <%= ENV['MONGOID_PASSWORD'] %>
database: <%= ENV['MONGOID_DATABASE'] %>
<<: *defaults