Development

Changeset 7760

You must first sign up to be able to contribute.

Changeset 7760

Show
Ignore:
Timestamp:
03/07/08 12:29:51 (6 months ago)
Author:
fabien
Message:

fixed propel:build-model from propel:build-schema xml-file fails (closes #2712)

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • branches/1.1/lib/plugins/sfPropelPlugin/lib/task/sfPropelBuildSchemaTask.class.php

    r7502 r7760  
    6262    { 
    6363      $schema = file_get_contents($xmlSchemaPath); 
    64       $schema = preg_replace('/<database\s+name="[^"]+"/s', '<database name="propel"', $schema); 
     64      $schema = preg_replace('/<database\s+name="[^"]+"/s', '<database name="propel" package="lib.model"', $schema); 
    6565      file_put_contents($xmlSchemaPath, $schema); 
    6666    }