Development

Changeset 7759

You must first sign up to be able to contribute.

Changeset 7759

Show
Ignore:
Timestamp:
03/07/08 12:29:37 (7 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.0/data/tasks/sfPakePropel.php

    r5701 r7759  
    203203  { 
    204204    $schema = file_get_contents('config/schema.xml'); 
    205     $schema = preg_replace('/<database\s+name="[^"]+"/s', '<database name="propel"', $schema); 
     205    $schema = preg_replace('/<database\s+name="[^"]+"/s', '<database name="propel" package="lib.model"', $schema); 
    206206    file_put_contents('config/schema.xml', $schema); 
    207207  }