summaryrefslogtreecommitdiffstats
path: root/Aufgabe06/config
diff options
context:
space:
mode:
authorStefan Suhren <suhren.stefan@fh-swf.de>2015-05-02 15:54:22 +0200
committerStefan Suhren <suhren.stefan@fh-swf.de>2015-05-02 15:54:22 +0200
commitf6933b82bbdb767480abf4cf6818b2db56fae1cc (patch)
tree377440bff6bc52b83aed6b07273ee478424184f3 /Aufgabe06/config
parent14f4818cc4279de6e911189db718339381f03b8a (diff)
downloadInternetTechnologien-f6933b82bbdb767480abf4cf6818b2db56fae1cc.tar.gz
InternetTechnologien-f6933b82bbdb767480abf4cf6818b2db56fae1cc.zip
Use composer to pull in propel and set it up
Diffstat (limited to 'Aufgabe06/config')
-rw-r--r--Aufgabe06/config/propel.yaml46
1 files changed, 46 insertions, 0 deletions
diff --git a/Aufgabe06/config/propel.yaml b/Aufgabe06/config/propel.yaml
new file mode 100644
index 0000000..135f44c
--- /dev/null
+++ b/Aufgabe06/config/propel.yaml
@@ -0,0 +1,46 @@
+## Sample Propel configuration file ##
+
+propel:
+## General settings ##
+ general:
+ # The name of your project.
+ # This affects names of generated files, etc.
+ project: catalog
+ version: 1.0.0-dev
+
+ ## All Database settings ##
+ #
+ # This section replaces the old runtime-conf.xml file and it's also used by config:convert command
+ database:
+ # All database sources
+ connections:
+ default:
+ adapter: mysql
+ # Connection class. While developing you could use Propel\Runtime\Connection\DebugPDO
+ classname: Propel\Runtime\Connection\ConnectionWrapper
+ dsn: "mysql:host=localhost;dbname=catalog"
+ user: root
+ password:
+ # Driver options. See http://www.php.net/manual/en/pdo.construct.php
+ # options must be passed to the contructor of the connection object
+ options:
+ # See http://www.php.net/manual/en/pdo.getattribute.php
+ # Attributes are set via `setAttribute()` method, after the connection object is created
+ attributes:
+ #Propel specific settings
+ settings:
+ charset: utf8
+
+ ## Runtime settings ##
+ runtime:
+ defaultConnection: default
+ # Datasources as defined in database.connections
+ connections:
+ - default
+
+ ## Generator settings ##
+ generator:
+ defaultConnection: default
+ # Datasources as defined in database.connections
+ connections:
+ - default