Development

Changeset 6131

You must first sign up to be able to contribute.

Changeset 6131

Show
Ignore:
Timestamp:
11/21/07 11:08:11 (1 year ago)
Author:
francois
Message:

sfPropelAlternativeScehmaPlugin? Fixed problem on alternative schema detection on Windows systems (patch from lking)

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • plugins/sfPropelAlternativeSchemaPlugin/README

    r5644 r6131  
    420420=== Trunk === 
    421421 
     422 * lking: Fixed problem on alternative schema detection on Windows systems 
     423 
    422424=== 2007-10-18 | 1.0.0 Stable ===  
    423425 
  • plugins/sfPropelAlternativeSchemaPlugin/lib/sfPropelDatabaseSchema.class.php

    r5751 r6131  
    7474    { 
    7575      // New schema syntax, we should look for custom schemas 
    76       $custom_schema_filename = str_replace(array(getcwd().'/', 'plugins/', 'config/', '/', 'schema.yml'), array('', '', '', '_', 'schema.custom.yml'), $file); 
     76      $custom_schema_filename = str_replace(array(getcwd().DIRECTORY_SEPARATOR, 'plugins'.DIRECTORY_SEPARATOR, 'config'.DIRECTORY_SEPARATOR, DIRECTORY_SEPARATOR, 'schema.yml'), array('', '', '', '_', 'schema.custom.yml'), $file); 
    7777      $dirs = array('config'); 
    7878      if ($pluginDirs = glob(sfConfig::get('sf_root_dir').'/plugins/*/config'))