Development

Changeset 6729

You must first sign up to be able to contribute.

Changeset 6729

Show
Ignore:
Timestamp:
12/26/07 23:11:57 (9 months ago)
Author:
fabien
Message:

fixed sfPropelDatabase generate wrong configuration on multiple datasource (closes #2267)

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • branches/1.1/lib/config/sfDatabaseConfigHandler.class.php

    r4597 r6729  
    101101 
    102102      // append new data 
    103       $data[] = sprintf("\n\$database = new %s();\n". 
    104                         "\$database->initialize(%s, '%s');\n". 
     103      $data[] = sprintf("\n\$database = new %s(%s, '%s');\n". 
    105104                        "\$this->databases['%s'] = \$database;", 
    106105                        $dbConfig['class'], $parameters, $key, $key);