Changeset 9019
- Timestamp:
- 05/17/08 02:21:03 (2 months ago)
- Files:
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
plugins/sfDoctrinePlugin/trunk/lib/task/sfDoctrineBuildModelTask.class.php
r8917 r9019 68 68 foreach ($pluginSchemas as $schema) 69 69 { 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); 72 73 $plugin = $e[0]; 73 74 $name = basename($schema);