use scalar for default connection alias
This commit is contained in:
parent
dbbc9e5c92
commit
4028cf19e7
3 changed files with 9 additions and 1 deletions
|
|
@ -383,6 +383,10 @@ EOT
|
|||
|
||||
$propelConfiguration = $container->get('propel.configuration');
|
||||
foreach ($propelConfiguration['datasources'] as $name => $datasource) {
|
||||
if (is_scalar($datasource)) {
|
||||
continue;
|
||||
}
|
||||
|
||||
$xml .= strtr(<<<EOT
|
||||
<datasource id="%name%">
|
||||
<adapter>%adapter%</adapter>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue