Development

Changeset 6977

You must first sign up to be able to contribute.

Changeset 6977

Show
Ignore:
Timestamp:
01/06/08 17:58:06 (11 months ago)
Author:
fabien
Message:

changed configure:database task to keep parameters and just override the DSN

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • branches/1.1/lib/task/configure/sfConfigureDatabaseTask.class.php

    r6933 r6977  
    8383    $config[$options['env']][$options['name']] = array( 
    8484      'class' => $options['class'], 
    85       'param' => array('dsn' => $arguments['dsn']), 
     85      'param' => array_merge($config[$options['env']][$options['name']]['param'], array('dsn' => $arguments['dsn'])), 
    8686    ); 
    8787