allow possibility to change PropelPDO class connection

This commit is contained in:
Manuel Raynaud
2013-07-08 10:44:57 +02:00
parent 0e7ea83fac
commit 0b9d7d1d35
2 changed files with 2 additions and 2 deletions

View File

@@ -60,7 +60,7 @@ class DatabaseConfiguration implements ConfigurationInterface
->cannotBeEmpty()
->end()
->scalarNode("classname")
->defaultValue("PropelPDO")
->defaultValue("Propel\Runtime\Connection\PropelPDO")
->end()
->end()
->end()

View File

@@ -44,7 +44,7 @@ class DefinePropel {
"dsn" => $connection["dsn"],
"user" => $connection["user"],
"password" => $connection["password"],
//"classname" => $connection["classname"]
"classname" => $connection["classname"]
);
}
}