Development

Changeset 9019

You must first sign up to be able to contribute.

Changeset 9019

Show
Ignore:
Timestamp:
05/17/08 02:21:03 (2 months ago)
Author:
Jonathan.Wage
Message:

fixes http://trac.phpdoctrine.org/ticket/1043

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • plugins/sfDoctrinePlugin/trunk/lib/task/sfDoctrineBuildModelTask.class.php

    r8917 r9019  
    6868    foreach ($pluginSchemas as $schema) 
    6969    { 
    70       $plugin = str_replace(sfConfig::get('sf_plugins_dir') . '/', '', $schema); 
    71       $e = explode('/', $plugin); 
     70      $schema = str_replace('/', DIRECTORY_SEPARATOR, $schema); 
     71      $plugin = str_replace(sfConfig::get('sf_plugins_dir') . DIRECTORY_SEPARATOR, '', $schema); 
     72      $e = explode(DIRECTORY_SEPARATOR, $plugin); 
    7273      $plugin = $e[0]; 
    7374      $name = basename($schema);