-
Notifications
You must be signed in to change notification settings - Fork 1
/
propel.php.dist
35 lines (33 loc) · 1.48 KB
/
propel.php.dist
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
<?php
// When you're part of a team, you could want to define a common configuration file and commit it into your VCS. But, of
// course, there can be some properties you don't want to share, e.g. database passwords. Propel helps you and looks for
// a propel.yml.dist file too, merging its properties with propel.yml ones. So you can define shared configuration
// properties in propel.yml.dist, committing it in your VCS, and keep propel.yml as private. The properties loaded from
// propel.yml overwrite the ones with the same name, loaded from propel.yml.dist.
//
// For a complete references see: http://propelorm.org/documentation/reference/configuration-file.html
return [
'propel' => [
'paths' => [
// The directory where Propel expects to find your `schema.xml` file.
'schemaDir' => '/Users/anoshmalik/Code/StirHack',
// The directory where Propel should output generated object model classes.
'phpDir' => 'app/src/Model',
],
/*
'database' => [
'connections' => [
'default' => [
'adapter' => 'mysql',
'dsn' => 'mysql:host=stirhack.ccgjwgngik5x.eu-west-1.rds.amazonaws.com;port=3306;dbname=stirhack',
'user' => 'stirhack',
'password' => 'stirhack',
'settings' => [
'charset' => 'utf8'
]
]
]
]
*/
]
];