Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

database configuration files improved

  • Loading branch information...
commit ab968d0262a2bfeed3a190dc1f21a0f31d9c349d 1 parent e87d112
@KuiKui authored
Showing with 7 additions and 7 deletions.
  1. +3 −3 config/databases.yml.dist
  2. +4 −4 config/propel.ini.dist
View
6 config/databases.yml.dist
@@ -12,9 +12,9 @@ all:
class: sfPropelDatabase
param:
classname: PropelPDO
- dsn: 'mysql:host=localhost;dbname=crew'
- username: root
- password: null
+ dsn: 'mysql:host=%db-host%;dbname=%db-name%'
+ username: '%db-user%'
+ password: '%db-password%'
encoding: utf8
persistent: true
pooling: true
View
8 config/propel.ini.dist
@@ -3,10 +3,10 @@ propel.packageObjectModel = true
propel.project = crew
propel.database = mysql
propel.database.driver = mysql
-propel.database.url = mysql:host=localhost;dbname=crew
+propel.database.url = mysql:host=%db-host%;dbname=%db-name%
propel.database.creole.url = ${propel.database.url}
-propel.database.user = root
-propel.database.password =
+propel.database.user = %db-user%
+propel.database.password = %db-password%
; mysql options
@@ -31,7 +31,7 @@ propel.emulateForeignKeyConstraints = true
; directories
propel.home = .
-propel.output.dir = /home/mbrunot/Workspace/crew
+propel.output.dir = /
propel.schema.dir = ${propel.output.dir}/config
propel.conf.dir = ${propel.output.dir}/config
propel.phpconf.dir = ${propel.output.dir}/config
Please sign in to comment.
Something went wrong with that request. Please try again.